Skip to content

Commit 68c47fc

Browse files
committed
🤦‍♂️
1 parent 2efe40d commit 68c47fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node/src/eventbuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { node } from './stack-parser';
1616
* Extracts stack frames from the error.stack string
1717
*/
1818
export function extractStackFromError(error: Error): StackFrame[] {
19-
return createStackParser(node(module.require))(error.stack || '');
19+
return createStackParser(node)(error.stack || '');
2020
}
2121

2222
/**

0 commit comments

Comments
 (0)