More informative debug logging.
This commit is contained in:
parent
821d5ee908
commit
2fd9692bbb
|
@ -265,7 +265,7 @@ var LifeCycle = (() => {
|
|||
} catch (e) {
|
||||
await include("/nscl/common/restricted.js");
|
||||
if (!isRestrictedURL(tab.url)) {
|
||||
error(e, "Can't run content script on tab", tab);
|
||||
error(e, `Can't run content script on tab ${tab.id} ${tab.url} ${tab.favIconUrl}`);
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue