1
0
Fork 0

Fix log error

This commit is contained in:
Chocobozzz 2023-10-30 14:14:19 +01:00
parent 15f2ac7152
commit 2e556debca
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -108,7 +108,7 @@ class Notifier {
const models = this.notificationModels.newComment const models = this.notificationModels.newComment
this.sendNotifications(models, comment) 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 { notifyOnNewAbuse (payload: NewAbusePayload): void {