Print error when initializing logs
This commit is contained in:
parent
5ddf50a152
commit
33437e1bb1
2
app.go
2
app.go
|
@ -36,7 +36,7 @@ func NewApp() *App {
|
||||||
app := &App{}
|
app := &App{}
|
||||||
err := app.initLog()
|
err := app.initLog()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal("error initializing log")
|
log.Fatal("error initializing log:", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
app.api = api.NewApi(app.logError, app.logInfo)
|
app.api = api.NewApi(app.logError, app.logInfo)
|
||||||
|
|
Loading…
Reference in a new issue