Skip to content

Commit

Permalink
Revert "arbo_race: don't fail, just log.Errorf"
Browse files Browse the repository at this point in the history
This reverts commit 48c7bab.
  • Loading branch information
altergui committed Sep 19, 2023
1 parent b6cc18e commit 1ac248f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/end2endtest/arbo_race.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (t *E2EArboRace) Run() error {
for {
election, err := t.api.ElectionResults(t.election.ElectionID)
if err != nil && !strings.Contains(err.Error(), "5024") { // "election results are not yet available" (TODO: proper code matching)
log.Errorf("found an unexpected error: %s", err)
return fmt.Errorf("found an unexpected error %w", err)
}
if err == nil && election != nil {
log.Infow("election published results", "election",
Expand Down

0 comments on commit 1ac248f

Please sign in to comment.