mirror of
https://github.com/tooot-app/app
synced 2025-02-18 04:40:57 +01:00
Try to capture more information
This commit is contained in:
parent
15cf29d952
commit
6f0a0c43fe
@ -60,7 +60,8 @@ const apiGeneral = async <T = unknown>({
|
||||
})
|
||||
.catch(error => {
|
||||
if (sentry) {
|
||||
Sentry.Native.captureException(error, { extra: error })
|
||||
Sentry.Native.setExtras(error.response)
|
||||
Sentry.Native.captureException(error)
|
||||
}
|
||||
|
||||
if (error.response) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user