Fix imageless posts when taking a screenshot on an internal page.

This commit is contained in:
Logan Gorence
2019-10-06 20:59:46 -07:00
parent 1a58026b23
commit b1bda646c4
4 changed files with 5 additions and 2 deletions

View File

@@ -91,7 +91,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;
}
}