diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index eeab68a5..43ee81c3 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -708,7 +708,7 @@ class Backend { } try { - const tabWindow = await new Promise((resolve) => { + const tabWindow = await new Promise((resolve, reject) => { chrome.windows.get(tab.windowId, {}, (tabWindow) => { const e = chrome.runtime.lastError; if (e) { reject(e); }