We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57708ac commit 305d912Copy full SHA for 305d912
src/ext/content-scripts/entry-userscripts.js
@@ -51,7 +51,7 @@ function injectJS(userscript) {
51
${userscript.code}
52
// ===UserScript====end====
53
} catch (error) {
54
- console.error(error);
+ console.error(\`${filename.replaceAll("`", "\\`")}\`, error);
55
}
56
})(); //# sourceURL=${filename.replace(/[\s"']/g, "-") + usTag}`;
57
let injectInto = userscript.scriptObject["inject-into"];
@@ -86,7 +86,7 @@ ${userscript.code}
86
code,
87
)(userscript.apis);
88
89
+ console.error(`${filename}`, error);
90
91
return;
92
0 commit comments