Correct error message
This commit is contained in:
parent
e3ef3b5c7d
commit
7e6475ac1e
|
|
@ -802,7 +802,7 @@ func MergePullRequestAction(doer *User, repo *Repository, pull *Issue, commits *
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := UpdateIssuesComment(doer, repo, pull, nil, true); err != nil {
|
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{
|
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 {
|
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{
|
if err := NotifyWatchers(&Action{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user