We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afaf869 commit 91644aaCopy full SHA for 91644aa
utils/api/base.js
@@ -11,12 +11,12 @@ export const fetcher = (url, token) => {
11
.then(res => res.data)
12
.catch(error => {
13
console.log({ error })
14
- throw Sentry.captureException(error)
15
- // Sentry.captureEvent({
16
- // message: error,
17
- // stacktrace: error.stacktrace,
18
- // name: error.name,
19
- // })
+ // Sentry.captureException(error)
+ throw Sentry.captureEvent({
+ message: error,
+ stacktrace: error.stacktrace,
+ name: error.name,
+ })
20
})
21
}
22
0 commit comments