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.
This commit is contained in:
obscuren 2014-10-23 00:59:35 +02:00
parent ce05634f38
commit 2e45e4d015

View File

@ -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)
} }