From 3e258c696941fbc3acee5457ac04c685c7dcb574 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 1 Dec 2021 10:45:44 -0800 Subject: [PATCH] Demote connection loop error Summary: We can't action tasks based on this report, so better to raise it as a warning. Reviewed By: nikoant Differential Revision: D32758850 fbshipit-source-id: 2e8ff984f40d2d0431db192e8f2d983d52b77ccd --- desktop/flipper-server-core/src/comms/ServerController.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/flipper-server-core/src/comms/ServerController.tsx b/desktop/flipper-server-core/src/comms/ServerController.tsx index a422b581e..103fc949f 100644 --- a/desktop/flipper-server-core/src/comms/ServerController.tsx +++ b/desktop/flipper-server-core/src/comms/ServerController.tsx @@ -508,7 +508,7 @@ class ConnectionTracker { this.connectionAttempts.set(key, entry); if (entry.length >= this.connectionProblemThreshold) { - console.error( + console.warn( `[conn] Connection loop detected with ${key}. Connected ${ this.connectionProblemThreshold } times within ${this.timeWindowMillis / 1000}s.`,