An extension to #13444 - where we now ensure that comment reaction failures do not cause migrations failure
Signed-off-by: Andrew Thornton <art27@cantab.net>
returnnil,fmt.Errorf("error while listing reactions for comment %d in issue #%d. Error: %v",comment.ID,index,err)
log.Warn("Unable to load comment reactions during migrating issue #%d for comment %d to %s/%s. Error: %v",index,comment.ID,g.repoOwner,g.repoName,err)
iferr2:=models.CreateRepositoryNotice(
fmt.Sprintf("Unable to load reactions during migrating issue #%d for comment %d to %s/%s. Error: %v",index,comment.ID,g.repoOwner,g.repoName,err));err2!=nil{