Commit 2e45e4d0 authored by obscuren's avatar obscuren

Print error using regular println. Fixes #146

We can't use our own logger because it hasn't been set up properly at
that point.
parent ce05634f
...@@ -42,7 +42,7 @@ func main() { ...@@ -42,7 +42,7 @@ func main() {
db := utils.NewDatabase() db := utils.NewDatabase()
err := utils.DBSanityCheck(db) err := utils.DBSanityCheck(db)
if err != nil { if err != nil {
logger.Errorln(err) fmt.Println(err)
os.Exit(1) os.Exit(1)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment