Clean up some sentry logs (#2630)
* Change prop name for sentry ingestion * Fix test * Add default object
This commit is contained in:
parent
3371038f7d
commit
bc502edae1
39 changed files with 84 additions and 147 deletions
|
@ -40,7 +40,7 @@ export async function requestPermissionsAndRegisterToken(
|
|||
logger.DebugContext.notifications,
|
||||
)
|
||||
} catch (error) {
|
||||
logger.error('Notifications: Failed to set push token', {error})
|
||||
logger.error('Notifications: Failed to set push token', {message: error})
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ export function registerTokenChangeHandler(
|
|||
logger.DebugContext.notifications,
|
||||
)
|
||||
} catch (error) {
|
||||
logger.error('Notifications: Failed to set push token', {error})
|
||||
logger.error('Notifications: Failed to set push token', {message: error})
|
||||
}
|
||||
})
|
||||
return () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue