From 1ac248f38058032f7146521f3a48ef030fcc8709 Mon Sep 17 00:00:00 2001 From: Gui Iribarren Date: Tue, 19 Sep 2023 16:46:04 +0200 Subject: [PATCH] Revert "arbo_race: don't fail, just log.Errorf" This reverts commit 48c7babc4cfdf6079e1cb561ca4c0ef794513533. --- cmd/end2endtest/arbo_race.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/end2endtest/arbo_race.go b/cmd/end2endtest/arbo_race.go index dfa2db96f..f80cf2e36 100644 --- a/cmd/end2endtest/arbo_race.go +++ b/cmd/end2endtest/arbo_race.go @@ -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",