diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/hooks/useOTAUpdate.ts | 2 | ||||
-rw-r--r-- | src/lib/notifications/notifications.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/hooks/useOTAUpdate.ts b/src/lib/hooks/useOTAUpdate.ts index 55147329b..53eab300e 100644 --- a/src/lib/hooks/useOTAUpdate.ts +++ b/src/lib/hooks/useOTAUpdate.ts @@ -36,7 +36,7 @@ export function useOTAUpdate() { showUpdatePopup() } catch (e) { logger.error('useOTAUpdate: Error while checking for update', { - error: e, + message: e, }) } }, [showUpdatePopup]) diff --git a/src/lib/notifications/notifications.ts b/src/lib/notifications/notifications.ts index 342839a7b..62d0bfc4b 100644 --- a/src/lib/notifications/notifications.ts +++ b/src/lib/notifications/notifications.ts @@ -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 () => { |