diff --git a/utils/api/base.js b/utils/api/base.js index 0f88042..d2628d6 100644 --- a/utils/api/base.js +++ b/utils/api/base.js @@ -11,12 +11,12 @@ export const fetcher = (url, token) => { .then(res => res.data) .catch(error => { console.log({ error }) - Sentry.captureException(error) - Sentry.captureEvent({ - message: error, - stacktrace: error.stacktrace, - name: error.name, - }) + throw Sentry.captureException(error) + // Sentry.captureEvent({ + // message: error, + // stacktrace: error.stacktrace, + // name: error.name, + // }) }) }