Skip to content

Commit

Permalink
fix: contextLinesIntegration should come before path normalization (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish authored Oct 31, 2024
1 parent f4ea121 commit f99628e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export function getDefaultIntegrations(options: ElectronMainOptions): Integratio
electronNetIntegration(),
electronContextIntegration(),
childProcessIntegration(),
normalizePathsIntegration(),
onUncaughtExceptionIntegration(),
preloadInjectionIntegration(),
additionalContextIntegration(),
Expand All @@ -63,6 +62,9 @@ export function getDefaultIntegrations(options: ElectronMainOptions): Integratio
contextLinesIntegration(),
localVariablesIntegration(),
nodeContextIntegration({ cloudResource: false }),

// We want paths to be normailzed after we've captured context
normalizePathsIntegration(),
];

if (options.autoSessionTracking !== false) {
Expand Down

0 comments on commit f99628e

Please sign in to comment.