Skip to content

Commit 47b5e5b

Browse files
committed
Do not log WaitForEvents warning.
1 parent 442daeb commit 47b5e5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/state-svc/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ func main() {
5555
}
5656

5757
if err := events.WaitForEvents(5*time.Second, rollbar.Wait, authentication.LegacyClose, logging.Close); err != nil {
58-
fmt.Fprintf(os.Stderr, "Warning: failed to wait for events")
58+
// Note: logger is closed, so cannot log here. Also, the activate integration tests seem to be
59+
// affected by an os.Stderr log.
60+
//fmt.Fprintf(os.Stderr, "Warning: failed to wait for events")
5961
}
6062
os.Exit(exitCode)
6163
}()

0 commit comments

Comments
 (0)