mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
Merge pull request #6 from lgorence/better_errors
Improve error handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user