Skip to content

Commit

Permalink
fix log output (#5938)
Browse files Browse the repository at this point in the history
  • Loading branch information
saromanov authored and zeripath committed Feb 2, 2019
1 parent 12ee544 commit 67567ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/branches.go
Expand Up @@ -101,7 +101,7 @@ func (protectBranch *ProtectedBranch) HasEnoughApprovals(pr *PullRequest) bool {
func (protectBranch *ProtectedBranch) GetGrantedApprovalsCount(pr *PullRequest) int64 {
reviews, err := GetReviewersByPullID(pr.Issue.ID)
if err != nil {
log.Error(1, "GetUniqueApprovalsByPullRequestID:", err)
log.Error(1, "GetReviewersByPullID:", err)
return 0
}

Expand Down

0 comments on commit 67567ef

Please sign in to comment.