mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
print to stderr since logger might not exist
This commit is contained in:
parent
2ccbf12d1c
commit
45d9bfca97
@ -111,7 +111,7 @@ func (g *GrafanaServerImpl) initLogging() {
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
g.log.Error(err.Error())
|
||||
fmt.Fprintf(os.Stderr, "Failed to start grafana. error: %s\n", err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user