From b1165231d03d534eaecabb0bc68c0e90b4df2346 Mon Sep 17 00:00:00 2001 From: younesaassila <47226184+younesaassila@users.noreply.github.com> Date: Sat, 3 Feb 2024 11:58:17 +0100 Subject: [PATCH] Improve handler --- src/background/handlers/onContentScriptMessage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background/handlers/onContentScriptMessage.ts b/src/background/handlers/onContentScriptMessage.ts index e456e96a..3440bfba 100644 --- a/src/background/handlers/onContentScriptMessage.ts +++ b/src/background/handlers/onContentScriptMessage.ts @@ -7,7 +7,7 @@ type Timeout = string | number | NodeJS.Timeout | undefined; const timeoutMap: Map = new Map(); const fetchTimeoutMsOverride: Map = new Map([ - [ProxyRequestType.Usher, 7000], + [ProxyRequestType.Usher, 7000], // Account for slow page load. ]); export default function onContentScriptMessage( @@ -56,7 +56,7 @@ export default function onContentScriptMessage( type: MessageType.EnableFullModeResponse, }); } catch (error) { - console.error("Failed to send EnableFullModeResponse message", error); + console.error("❌ Failed to send EnableFullModeResponse message", error); } }