|
@ -62,9 +62,9 @@ func run(ctx context.Context, configFile string) error { |
|
|
|
|
|
|
|
|
logger, err := log.NewDefaultLogger(log.LogFormatPlain, log.LogLevelInfo) |
|
|
logger, err := log.NewDefaultLogger(log.LogFormatPlain, log.LogLevelInfo) |
|
|
if err != nil { |
|
|
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.
|
|
|
// everywhere else.
|
|
|
fmt.Println("ERROR:", err) |
|
|
|
|
|
|
|
|
fmt.Fprintln(os.Stderr, "ERROR:", err) |
|
|
return err |
|
|
return err |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|