Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

appview/notifications: log on failure

Signed-off-by: Seongmin Lee <git@boltless.me>

Seongmin Lee (Jun 30, 2026, 12:43 AM +0900) b0f1e988 d81ccd06

+2
+2
appview/notifications/notifications.go
··· 261 261 err = db.MarkNotificationUnread(n.db, notificationID, userDid) 262 262 } 263 263 if err != nil { 264 + n.logger.Error("failed to toggle notification read state", "err", err) 264 265 http.Error(w, "Failed to update notification", http.StatusInternalServerError) 265 266 return 266 267 } ··· 287 288 288 289 err := db.MarkAllNotificationsRead(n.db, userDid) 289 290 if err != nil { 291 + n.logger.Error("failed to mark all notifications as read", "err", err) 290 292 http.Error(w, "Failed to mark all notifications as read", http.StatusInternalServerError) 291 293 return 292 294 }