diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-23 06:59:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-23 06:59:35 +0800 |
commit | 2e45e4d0151e893574acdef5b61cb2ef9b31556c (patch) | |
tree | 709dcc74e59d94ffb958048e7635b36777749a46 /ethereum | |
parent | ce05634f383dbda0c5b26ff80e95a53647a17886 (diff) | |
download | dexon-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.go | 2 |
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) } |