Print error when initializing logs

This commit is contained in:
tyler 2023-12-24 16:22:49 -05:00
parent 5ddf50a152
commit 33437e1bb1

2
app.go
View file

@ -36,7 +36,7 @@ func NewApp() *App {
app := &App{}
err := app.initLog()
if err != nil {
log.Fatal("error initializing log")
log.Fatal("error initializing log:", err)
}
app.api = api.NewApi(app.logError, app.logInfo)