We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51ecf6 commit 55de875Copy full SHA for 55de875
packages/engine/src/job/job.ts
@@ -48,9 +48,11 @@ function buildPath() {
48
const stackLines = err.stack?.split("\n");
49
stackLines?.shift();
50
const callerLine = stackLines?.find((line) => {
51
- const exclude = import.meta.filename.replaceAll("\\\\", "/");
+ line = line.replaceAll("\\", "/");
52
+ const exclude = import.meta.filename.replaceAll("\\", "/");
53
return !line.includes(exclude);
54
});
55
+
56
const match = callerLine?.match(/(file:\/\/)?((\w:)?[/\\].+):\d+:\d+/);
57
58
if (match) {
0 commit comments