aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-23 06:59:35 +0800
committerobscuren <geffobscura@gmail.com>2014-10-23 06:59:35 +0800
commit2e45e4d0151e893574acdef5b61cb2ef9b31556c (patch)
tree709dcc74e59d94ffb958048e7635b36777749a46 /ethereum
parentce05634f383dbda0c5b26ff80e95a53647a17886 (diff)
downloaddexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.tar
dexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.tar.gz
dexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.tar.bz2
dexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.tar.lz
dexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.tar.xz
dexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.tar.zst
dexon-2e45e4d0151e893574acdef5b61cb2ef9b31556c.zip
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.
Diffstat (limited to 'ethereum')
-rw-r--r--ethereum/main.go2
1 files changed, 1 insertions, 1 deletions
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)
}