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 b0ae26d commit e658affCopy full SHA for e658aff
packages/browser/src/sdk.ts
@@ -1,4 +1,4 @@
1
-import { getCurrentScope } from '@sentry/core';
+import { getCurrentScope, withScope } from '@sentry/core';
2
import { functionToStringIntegration, inboundFiltersIntegration } from '@sentry/core';
3
import {
4
captureSession,
@@ -157,6 +157,11 @@ export function init(browserOptions: BrowserOptions = {}): void {
157
158
initAndBind(BrowserClient, clientOptions);
159
160
+ // tmp test
161
+ getCurrentScope();
162
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
163
+ withScope(() => {});
164
+
165
if (options.autoSessionTracking) {
166
startSessionTracking();
167
}
0 commit comments