Skip to content

Commit 6b45fba

Browse files
committed
fix: remove uneeded global hook call in node light
1 parent 290e69a commit 6b45fba

File tree

1 file changed

+0
-3
lines changed
  • packages/node-core/src/light

1 file changed

+0
-3
lines changed

packages/node-core/src/light/sdk.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
functionToStringIntegration,
1010
getCurrentScope,
1111
getIntegrationsToSetup,
12-
GLOBAL_OBJ,
1312
linkedErrorsIntegration,
1413
propagationContextFromHeaders,
1514
requestDataIntegration,
@@ -121,8 +120,6 @@ function _init(
121120

122121
client.init();
123122

124-
GLOBAL_OBJ._sentryInjectLoaderHookRegister?.();
125-
126123
debug.log(`SDK initialized from ${isCjs() ? 'CommonJS' : 'ESM'} (light mode)`);
127124

128125
client.startClientReportTracking();

0 commit comments

Comments
 (0)