diff --git a/models/pull.go b/models/pull.go index c33d58cdce958..2217caad25d31 100644 --- a/models/pull.go +++ b/models/pull.go @@ -467,7 +467,6 @@ func (pr *PullRequest) Merge(doer *User, baseGitRepo *git.Repository, mergeStyle Sender: doer.APIFormat(), }); err != nil { log.Error(4, "PrepareWebhooks: %v", err) - return nil } else { go HookQueue.Add(pr.Issue.Repo.ID) }