mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 01:54:26 +00:00
backport #16905
This commit is contained in:
parent
e70b679d21
commit
8b132bdec6
@ -808,7 +808,8 @@ func (g *GiteaLocalUploader) CreateReviews(reviews ...*base.Review) error {
|
||||
}
|
||||
headCommitID, err := g.gitRepo.GetRefCommitID(pr.GetGitRefName())
|
||||
if err != nil {
|
||||
return fmt.Errorf("GetRefCommitID[%s]: %v", pr.GetGitRefName(), err)
|
||||
log.Warn("GetRefCommitID[%s]: %v, the review comment will be ignored", pr.GetGitRefName(), err)
|
||||
continue
|
||||
}
|
||||
|
||||
var patch string
|
||||
|
Loading…
Reference in New Issue
Block a user