diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 4aaa36382..6c630ee98 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -62,6 +62,7 @@ var ( // Main manages the startup and shutdown lifecycle of the entire Prometheus server. func Main() int { if err := parse(os.Args[1:]); err != nil { + log.Error(err) return 2 }