From 28626ec1453795a5e0aaeb3918453ec929e59fd0 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Thu, 18 Jul 2024 14:50:48 +0200 Subject: [PATCH] check logs --- holo-key-manager-extension/scripts/background.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holo-key-manager-extension/scripts/background.ts b/holo-key-manager-extension/scripts/background.ts index 594f17b..7fa9d36 100644 --- a/holo-key-manager-extension/scripts/background.ts +++ b/holo-key-manager-extension/scripts/background.ts @@ -137,6 +137,7 @@ const processMessageWebApp = async ( sendResponseWithSender: SendResponseWithSender ) => { try { + console.log(JSON.stringify(parsedMessage)); if (!(await isSetupComplete())) { return updateOrCreateWindow(NEEDS_SETUP, sendResponseWithSender); } @@ -196,7 +197,6 @@ const processMessageExtension = async ( }; chrome.runtime.onMessage.addListener((message: Message, sender, sendResponse: SendResponse) => { - console.log(JSON.stringify(message)); const sendResponseWithSender = (response: ActionPayload) => sendResponse({ ...response, sender: SENDER_BACKGROUND_SCRIPT });