Skip to content

Commit db63d96

Browse files
committed
intentionally throw an error to test the org sentry auth token
1 parent 61db71e commit db63d96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/api/base.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ const defaultHeaders = (token) => ({ Authorization: `Bearer ${token || process.e
77
const api = axios.create({ baseURL })
88

99
export const fetcher = (url, token) => {
10-
return api.get(url, { headers: defaultHeaders(token) })
10+
return api.get(url, { headers: `Bearer 1234` })
1111
.then(res => res.data)
1212
.catch(error => {
13+
console.log({ error })
1314
Sentry.captureException(error)
1415
})
1516
}

0 commit comments

Comments
 (0)