Correct error message

This commit is contained in:
Keith Rutkowski 2018-05-23 11:37:15 -04:00
parent e3ef3b5c7d
commit 7e6475ac1e

View File

@ -802,7 +802,7 @@ func MergePullRequestAction(doer *User, repo *Repository, pull *Issue, commits *
}
if err := UpdateIssuesComment(doer, repo, pull, nil, true); err != nil {
log.Error(4, "UpdateIssuesCommit: %v", err)
log.Error(4, "UpdateIssuesComment: %v", err)
}
if err := notifyWatchers(x, &Action{
@ -827,7 +827,7 @@ func NewPullRequestAction(doer *User, repo *Repository, pull *Issue, commits *Pu
}
if err := UpdateIssuesComment(doer, repo, pull, nil, false); err != nil {
log.Error(4, "UpdateIssuesCommit: %v", err)
log.Error(4, "UpdateIssuesComment: %v", err)
}
if err := NotifyWatchers(&Action{