mirror of https://github.com/Chocobozzz/PeerTube
Fix log error
parent
15f2ac7152
commit
2e556debca
|
@ -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 New Issue