Skip to content

Commit ca9b48a

Browse files
authored
Merge pull request #2 from tommywilkinson/patch-1
Reuse computed module info
2 parents fb925b1 + 1232c25 commit ca9b48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function prepareStackTraceWithSourceModules(error: Error, frames: CallSite[]): s
5959

6060
const moduleInformation = collectModuleInformation(frames);
6161
if (moduleInformation) {
62-
return originalStack + '\n' + collectModuleInformation(frames);
62+
return originalStack + '\n' + moduleInformation;
6363
}
6464

6565
return originalStack;

0 commit comments

Comments
 (0)