Merge pull request #6 from lgorence/better_errors

Improve error handling
This commit is contained in:
zadam
2020-10-09 22:29:27 +02:00
committed by GitHub
4 changed files with 5 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ async function sendMessageToActiveTab(message) {
return await browser.tabs.sendMessage(activeTab.id, message);
}
catch (e) {
console.error("Sending message to active tab failed, you might need to refresh the page after updating the extension.", e);
throw e;
}
}