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