Browse Source

Fix log error

Chocobozzz 7 months ago
parent
commit
2e556debca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/core/lib/notifier/notifier.ts

+ 1 - 1
server/core/lib/notifier/notifier.ts

@@ -108,7 +108,7 @@ class Notifier {
     const models = this.notificationModels.newComment
 
     this.sendNotifications(models, comment)
-      .catch(err => logger.error('Cannot notify of new comment.', comment.url, { err }))
+      .catch(err => logger.error('Cannot notify of new comment %s.', comment.url, { err }))
   }
 
   notifyOnNewAbuse (payload: NewAbusePayload): void {