aboutsummaryrefslogtreecommitdiffstats
path: root/modules/notification
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-11-15 09:59:21 -0300
committerzeripath <art27@cantab.net>2019-11-15 12:59:21 +0000
commit9930d47be2516ba4dc33ddfc382f9a829628929d (patch)
treebafde602be9cc642bfdd6860c92d805c1cce897d /modules/notification
parent97dc314652422d392b26e7ea1ef3991903c6f22c (diff)
downloadgitea-9930d47be2516ba4dc33ddfc382f9a829628929d.tar.gz
gitea-9930d47be2516ba4dc33ddfc382f9a829628929d.zip
Add review comments to mail notifications (#8996)
Diffstat (limited to 'modules/notification')
-rw-r--r--modules/notification/mail/mail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/mail/mail.go b/modules/notification/mail/mail.go
index 0900c6dcdf..24f68bd642 100644
--- a/modules/notification/mail/mail.go
+++ b/modules/notification/mail/mail.go
@@ -40,7 +40,7 @@ func (m *mailNotifier) NotifyCreateIssueComment(doer *models.User, repo *models.
}
if err := mailer.MailParticipantsComment(comment, act, issue); err != nil {
- log.Error("MailParticipants: %v", err)
+ log.Error("MailParticipantsComment: %v", err)
}
}
@@ -87,7 +87,7 @@ func (m *mailNotifier) NotifyPullRequestReview(pr *models.PullRequest, r *models
act = models.ActionCommentIssue
}
if err := mailer.MailParticipantsComment(comment, act, pr.Issue); err != nil {
- log.Error("MailParticipants: %v", err)
+ log.Error("MailParticipantsComment: %v", err)
}
}