Skip to content

Commit 080a309

Browse files
committed
Typo
1 parent 51e639c commit 080a309

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const DEFAULT_CLIENT_REPORT_FLUSH_INTERVAL_MS = 60_000; // 60s was chosen arbitr
1515
/** A client for using Sentry with Node & OpenTelemetry. */
1616
export class NodeClient extends ServerRuntimeClient<NodeClientOptions> {
1717
public traceProvider: BasicTracerProvider | undefined;
18-
public asyncLocalStroageLookup: AsyncLocalStorageLookup | undefined;
18+
public asyncLocalStorageLookup: AsyncLocalStorageLookup | undefined;
1919

2020
private _tracer: Tracer | undefined;
2121
private _clientReportInterval: NodeJS.Timeout | undefined;

packages/node-native/src/event-loop-block-integration.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,8 @@ function startPolling(
6060
integrationOptions: Partial<ThreadBlockedIntegrationOptions>,
6161
): IntegrationInternal | undefined {
6262
if (client.asyncLocalStroageLookup) {
63-
registerThread({
64-
asyncLocalStorage: client.asyncLocalStroageLookup.asyncLocalStorage,
65-
stateLookup: ['_currentContext', client.asyncLocalStroageLookup.contextSymbol],
66-
});
63+
const { asyncLocalStorage, contextSymbol } = client.asyncLocalStroageLookup;
64+
registerThread({ asyncLocalStorage, stateLookup: ['_currentContext', contextSymbol] });
6765
} else {
6866
registerThread();
6967
}

0 commit comments

Comments
 (0)