More informative debug logging.

This commit is contained in:
hackademix 2024-12-21 07:28:38 +01:00
parent 821d5ee908
commit 2fd9692bbb
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 1 additions and 1 deletions

View File

@ -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}`);
}
}
}));