Skip to content

Commit

Permalink
Avoid overriding main error with context values
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Sep 21, 2023
1 parent bb2f469 commit d6a4959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/atlas/src/utils/logs/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class _SentryLogger {

Sentry.captureException(new SentryError(title, message), {
contexts: {
error,
...contexts,
error,
},
tags,
user: { ...this.user, ip_address: '{{auto}}' },
Expand Down

0 comments on commit d6a4959

Please sign in to comment.