From 8372d07ae6aa08805abe72990a78c4e1322a7e70 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 9 Mar 2022 07:40:39 -0800 Subject: [PATCH] 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 --- desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx b/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx index 45f8848c3..6a5b4fd73 100644 --- a/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx +++ b/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx @@ -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, );