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 4059bbd commit aef8c98Copy full SHA for aef8c98
packages/node/src/integrations/anr/worker.ts
@@ -173,7 +173,7 @@ if (options.captureStackTrace) {
173
{
174
// Grab the trace context from the current scope
175
expression:
176
- 'const ctx = __SENTRY__.hub.getScope().getPropagationContext(); ctx.traceId + "-" + ctx.spanId + "-" + ctx.parentSpanId',
+ 'var __sentry_ctx = __SENTRY__.hub.getScope().getPropagationContext(); __sentry_ctx.traceId + "-" + __sentry_ctx.spanId + "-" + __sentry_ctx.parentSpanId',
177
// Don't re-trigger the debugger if this causes an error
178
silent: true,
179
},
0 commit comments