From 2fd9692bbbaf1f273d8ff806acaf1495471fc3e3 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sat, 21 Dec 2024 07:28:38 +0100 Subject: [PATCH] More informative debug logging. --- src/bg/LifeCycle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bg/LifeCycle.js b/src/bg/LifeCycle.js index 38aca62..853e88a 100644 --- a/src/bg/LifeCycle.js +++ b/src/bg/LifeCycle.js @@ -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}`); } } }));