about summary refs log tree commit diff
path: root/src/view/screens/Notifications.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-02 17:38:13 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-02 17:38:13 -0600
commitf6a0e634d78eb97d1d877033bf620ea982038731 (patch)
tree5d6b7ccbc8f6a587c3910c760bceeefda0c0a291 /src/view/screens/Notifications.tsx
parent99cec71ed798b29079eb474acd6f7cc799b51a51 (diff)
downloadvoidsky-f6a0e634d78eb97d1d877033bf620ea982038731.tar.zst
Implement logging system
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r--src/view/screens/Notifications.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx
index 2257dd221..5a4d9c223 100644
--- a/src/view/screens/Notifications.tsx
+++ b/src/view/screens/Notifications.tsx
@@ -14,12 +14,12 @@ export const Notifications = ({navIdx, visible}: ScreenParams) => {
     if (!visible) {
       return
     }
-    console.log('Updating notifications feed')
+    store.log.debug('Updating notifications feed')
     store.me.refreshMemberships() // needed for the invite notifications
     store.me.notifications
       .update()
       .catch(e => {
-        console.error('Error while updating notifications feed', e)
+        store.log.error('Error while updating notifications feed', e.toString())
       })
       .then(() => {
         store.me.notifications.updateReadState()