Skip to content

Commit

Permalink
fix: wrong access sentry reason message (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
1natsu172 authored Jul 25, 2024
1 parent 87d0e62 commit f35e581
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function createScopedClient<
if (originalException) {
const errorMessage: string | undefined =
// @ts-expect-error cuz unknown
originalException?.reason ?? originalException?.message;
originalException?.reason?.message ?? originalException?.message;

if (errorMessage) {
const shouldIgnore = ignoreErrors.some((pattern) => {
Expand Down

0 comments on commit f35e581

Please sign in to comment.