Skip to content

Commit fdcc030

Browse files
authoredMay 15, 2024··
Added error to sentry scope (#2381)

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎services/workflows-service/src/sentry/sentry.service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export class SentryService {
99

1010
public captureException(error: Error | string): void {
1111
Sentry.withScope(scope => {
12+
scope.setExtra('error', error);
13+
1214
this._setExtraData(scope);
1315

1416
this._setLevel(error, scope);

0 commit comments

Comments
 (0)
Please sign in to comment.