1
0
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:
Zhiyuan Zheng 2021-03-19 22:18:23 +01:00
parent 15cf29d952
commit 6f0a0c43fe
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0

View File

@ -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) {