Skip to content

Commit

Permalink
Propagate err in checkReviewed
Browse files Browse the repository at this point in the history
  • Loading branch information
mimi1vx authored Aug 21, 2024
1 parent 281feaf commit eb16cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/openqa-revtui/openqa.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func isReviewed(job gopenqa.Job, instance *gopenqa.Instance, checkParallel bool)
func checkReviewed(job int64, instance *gopenqa.Instance) (bool, error) {
comments, err := instance.GetComments(job)
if err != nil {
return false, nil
return false, err
}
for _, c := range comments {
if len(c.BugRefs) > 0 {
Expand Down

0 comments on commit eb16cc1

Please sign in to comment.