mirror of
https://github.com/tooot-app/app
synced 2025-01-03 13:10:23 +01:00
Fix #604
This commit is contained in:
parent
4cadeb6a6f
commit
972ae46d45
@ -27,9 +27,9 @@ const handleError =
|
||||
|
||||
if (error?.response) {
|
||||
if (config?.captureResponse) {
|
||||
Sentry.setTag('error_status', error.response.status)
|
||||
Sentry.setContext('Error response', {
|
||||
data: error.response.data,
|
||||
status: error.response.status,
|
||||
headers: error.response.headers
|
||||
})
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ const pushUseConnect = () => {
|
||||
)
|
||||
|
||||
useEffect(() => {
|
||||
Sentry.setContext('Push', { expoToken, pushEnabledCount })
|
||||
Sentry.setTags({ expoToken, pushEnabledCount })
|
||||
|
||||
if (expoToken && pushEnabledCount) {
|
||||
connectQuery.refetch()
|
||||
|
Loading…
Reference in New Issue
Block a user