mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
read chrome.runtime.lastError
This commit is contained in:
parent
cb7c35ad77
commit
58fc9c943c
@ -418,6 +418,9 @@ function collectPageDetailsForContentScript(tab, sender) {
|
||||
}
|
||||
|
||||
chrome.tabs.sendMessage(tab.id, { command: 'collectPageDetails', tab: tab, sender: sender }, function () {
|
||||
if (chrome.runtime.lastError) {
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user