This commit is contained in:
xmflsct 2023-01-08 17:56:34 +01:00
parent 4cadeb6a6f
commit 972ae46d45
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -96,7 +96,7 @@ const pushUseConnect = () => {
)
useEffect(() => {
Sentry.setContext('Push', { expoToken, pushEnabledCount })
Sentry.setTags({ expoToken, pushEnabledCount })
if (expoToken && pushEnabledCount) {
connectQuery.refetch()