1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-09-16 02:17:24 +02:00

read chrome.runtime.lastError

This commit is contained in:
Kyle Spearrin 2017-08-31 15:30:01 -04:00
parent cb7c35ad77
commit 58fc9c943c

View File

@ -418,6 +418,9 @@ function collectPageDetailsForContentScript(tab, sender) {
} }
chrome.tabs.sendMessage(tab.id, { command: 'collectPageDetails', tab: tab, sender: sender }, function () { chrome.tabs.sendMessage(tab.id, { command: 'collectPageDetails', tab: tab, sender: sender }, function () {
if (chrome.runtime.lastError) {
return;
}
}); });
} }