diff --git a/test/e2e/node/main.go b/test/e2e/node/main.go index 0f36c4fae..54b9ef533 100644 --- a/test/e2e/node/main.go +++ b/test/e2e/node/main.go @@ -62,9 +62,9 @@ func run(ctx context.Context, configFile string) error { logger, err := log.NewDefaultLogger(log.LogFormatPlain, log.LogLevelInfo) if err != nil { - // have print here because we can log, logger + // have print here because we can't log (yet), use the logger // everywhere else. - fmt.Println("ERROR:", err) + fmt.Fprintln(os.Stderr, "ERROR:", err) return err }