Skip to content

Commit

Permalink
fix error flow in prober
Browse files Browse the repository at this point in the history
  • Loading branch information
naueramant committed Jan 23, 2024
1 parent afa4fa0 commit 93b9b86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/prober.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ func handleTask(ctx context.Context, logger *logrus.Logger, prober http.Service,
failed, passed, err := assertResult(res, m.Assertions)
if err != nil {
l.WithError(err).Error("failed to assert result")

return
}

failedCount := len(*failed)
Expand Down

0 comments on commit 93b9b86

Please sign in to comment.