Skip to content

Commit 910fdfe

Browse files
committed
chore: Reword comment
1 parent 75fa393 commit 910fdfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/server-utils/src/tracing-channel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ function bindSpanToChannelStore<TData extends object>(
181181
});
182182

183183
// Restore the caller's context for the async continuation. Only callback-style channels `runStores`
184-
// `asyncStart` (so the callback runs inside this store); promise channels `publish` it, leaving this
185-
// inert their continuation already inherits the caller's context natively.
184+
// `asyncStart` (so the callback runs inside this store). promise channels `publish` it, leaving this
185+
// inert, their continuation already inherits the caller's context natively.
186186
channel.asyncStart.bindStore(asyncLocalStorage, (data: TracingChannelPayloadWithSpan<TData>) => {
187187
return (data._sentryCallerStore ?? asyncLocalStorage.getStore()) as TData;
188188
});

0 commit comments

Comments
 (0)