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
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func main() {
db := utils.NewDatabase()
err := utils.DBSanityCheck(db)
if err != nil {
logger.Errorln(err)
fmt.Println(err)
os.Exit(1)
}