Demote "failed to find device" error

Summary:
This is not actionable for us as it includes changing device identifiers.
In this case it's better to rely on individual user reports if this is about
a particular device/app combo.

Reviewed By: lawrencelomax

Differential Revision: D34749996

fbshipit-source-id: 88c6c8b076b3f7d9808b6a2a9b08854d2d7cb39f
This commit is contained in:
Pascal Hartig
2022-03-09 07:40:39 -08:00
committed by Facebook GitHub Bot
parent 71bdb23a1d
commit 8372d07ae6

View File

@@ -270,7 +270,7 @@ export async function handleClientConnected(
getDeviceBySerial(store.getState(), query.device_id) ??
(await findDeviceForConnection(store, query.app, query.device_id).catch(
(e) => {
console.error(
console.warn(
`[conn] Failed to find device '${query.device_id}' while connection app '${query.app}'`,
e,
);