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 6fa2ccb commit 49b5cbdCopy full SHA for 49b5cbd
packages/node/src/utils/ensureIsWrapped.ts
@@ -1,5 +1,5 @@
1
import { isWrapped } from '@opentelemetry/core';
2
-import { getCurrentScope, hasTracingEnabled, isEnabled } from '@sentry/core';
+import { getGlobalScope, hasTracingEnabled, isEnabled } from '@sentry/core';
3
import { consoleSandbox } from '@sentry/utils';
4
import { isCjs } from './commonjs';
5
@@ -25,9 +25,10 @@ export function ensureIsWrapped(
25
}
26
});
27
28
- getCurrentScope().setContext('Instrumentation', {
+ getGlobalScope().setContext('Instrumentation', {
29
isMissing: true,
30
- framework: name,
+ package: name,
31
+ isCjs: isCjs(),
32
33
34
0 commit comments