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