From 2e45e4d0151e893574acdef5b61cb2ef9b31556c Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 23 Oct 2014 00:59:35 +0200 Subject: [PATCH] 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. --- ethereum/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/main.go b/ethereum/main.go index bff5485df..21668ad25 100644 --- a/ethereum/main.go +++ b/ethereum/main.go @@ -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) }