Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagarjun Sanji committed Sep 20, 2024
1 parent 63a33ea commit 98cc61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/sentryHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class SentryHelper {
* @param error - The error object to capture.
*/
public static captureException(error: Error): void {
Sentry.captureException(new Error(error.message, error));
Sentry.captureException(error);
}

/**
Expand Down

0 comments on commit 98cc61b

Please sign in to comment.