Skip to content

Commit c67067e

Browse files
committed
feat(node): Rewrite absolute stackframes by default
1 parent 33e965d commit c67067e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/node/src/sdk/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Integration, Options } from '@sentry/core';
1+
import { Integration, Options, rewriteFramesIntegration } from '@sentry/core';
22
import {
33
consoleIntegration,
44
consoleSandbox,
@@ -63,6 +63,9 @@ export function getDefaultIntegrationsWithoutPerformance(): Integration[] {
6363
// Global Handlers
6464
onUncaughtExceptionIntegration(),
6565
onUnhandledRejectionIntegration(),
66+
rewriteFramesIntegration({
67+
root: process.cwd(),
68+
}),
6669
// Event Info
6770
contextLinesIntegration(),
6871
localVariablesIntegration(),

0 commit comments

Comments
 (0)