log.Warn("Unable to load comment reactions during migrating issue #%d for comment %d to %s/%s. Error: %v",opts.Context.ForeignID(),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",opts.Context.ForeignID(),comment.ID,g.repoOwner,g.repoName,err));err2!=nil{
returnnil,false,fmt.Errorf("error while listing comments for issue #%d. Error: %v",opts.Context.ForeignID(),err)
}
for_,comment:=rangecomments{
reactions,err:=g.getCommentReactions(comment.ID)
iferr!=nil{
log.Warn("Unable to load comment reactions during migrating issue #%d for comment %d to %s/%s. Error: %v",opts.Context.ForeignID(),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",opts.Context.ForeignID(),comment.ID,g.repoOwner,g.repoName,err));err2!=nil{