Fix log error
This commit is contained in:
parent
15f2ac7152
commit
2e556debca
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue