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 fbc9a3b commit 6b89be4Copy full SHA for 6b89be4
packages/node/src/integrations/linkederrors.ts
@@ -84,7 +84,8 @@ export class LinkedErrors implements Integration {
84
85
const exception = exceptionFromError(error[key]);
86
87
- // We add
+ // 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.
89
const contextLines = getCurrentHub().getIntegration(ContextLines);
90
if (contextLines && exception.stacktrace?.frames) {
91
await contextLines.addSourceContextToFrames(exception.stacktrace.frames);
0 commit comments