mirror of
https://github.com/prometheus/prometheus
synced 2025-02-11 01:19:59 +00:00
parent
b447002309
commit
e62677d7ba
@ -62,6 +62,7 @@ var (
|
|||||||
// Main manages the startup and shutdown lifecycle of the entire Prometheus server.
|
// Main manages the startup and shutdown lifecycle of the entire Prometheus server.
|
||||||
func Main() int {
|
func Main() int {
|
||||||
if err := parse(os.Args[1:]); err != nil {
|
if err := parse(os.Args[1:]); err != nil {
|
||||||
|
log.Error(err)
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user