Skip to content

Commit

Permalink
chore: adjust error message style
Browse files Browse the repository at this point in the history
  • Loading branch information
ACTCD committed Nov 16, 2024
1 parent 57708ac commit 305d912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ext/content-scripts/entry-userscripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function injectJS(userscript) {
${userscript.code}
// ===UserScript====end====
} catch (error) {
console.error(error);
console.error(\`${filename.replaceAll("`", "\\`")}\`, error);
}
})(); //# sourceURL=${filename.replace(/[\s"']/g, "-") + usTag}`;
let injectInto = userscript.scriptObject["inject-into"];
Expand Down Expand Up @@ -86,7 +86,7 @@ ${userscript.code}
code,
)(userscript.apis);
} catch (error) {
console.error(error);
console.error(`${filename}`, error);
}
return;
}
Expand Down

0 comments on commit 305d912

Please sign in to comment.