Skip to content

Commit ef84618

Browse files
committed
fix(core): Decode file name in Node stack parser
1 parent 97abe0a commit ef84618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/utils-hoist/node-stack-trace.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function node(getModule?: GetModuleFn): StackLineParserFn {
113113
}
114114

115115
return {
116-
filename,
116+
filename: filename ? decodeURI(filename) : undefined,
117117
module: getModule ? getModule(filename) : undefined,
118118
function: functionName,
119119
lineno: _parseIntOrUndefined(lineMatch[3]),

0 commit comments

Comments
 (0)