Skip to content

Commit

Permalink
check logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrruby committed Jul 18, 2024
1 parent ca5ef5d commit 28626ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holo-key-manager-extension/scripts/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const processMessageWebApp = async (
sendResponseWithSender: SendResponseWithSender
) => {
try {
console.log(JSON.stringify(parsedMessage));
if (!(await isSetupComplete())) {
return updateOrCreateWindow(NEEDS_SETUP, sendResponseWithSender);
}
Expand Down Expand Up @@ -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 });

Expand Down

0 comments on commit 28626ec

Please sign in to comment.