mirror of https://github.com/grafana/grafana.git
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