print to stderr since logger might not exist
This commit is contained in:
1 parent
2ccbf12d1c
commit
45d9bfca97
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user