Skip to content

Commit 6b89be4

Browse files
committed
Update comment
1 parent fbc9a3b commit 6b89be4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/node/src/integrations/linkederrors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ export class LinkedErrors implements Integration {
8484

8585
const exception = exceptionFromError(error[key]);
8686

87-
// We add
87+
// If the ContextLines integration is enabled, we add source code context to linked errors
88+
// because we can't guarantee the order that integrations are run.
8889
const contextLines = getCurrentHub().getIntegration(ContextLines);
8990
if (contextLines && exception.stacktrace?.frames) {
9091
await contextLines.addSourceContextToFrames(exception.stacktrace.frames);

0 commit comments

Comments
 (0)