aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-07-22 02:55:47 +0800
committerzelig <viktor.tron@gmail.com>2014-07-22 02:55:47 +0800
commit2f5c95610feb77dd714bf9295d6127bef58f31bc (patch)
treee8bd2f114965b03e70f816988f5c4313e908b793
parent74abc457ada9ef17c39c488a9e7625cecd4e6141 (diff)
downloadgo-tangerine-2f5c95610feb77dd714bf9295d6127bef58f31bc.tar.gz
go-tangerine-2f5c95610feb77dd714bf9295d6127bef58f31bc.tar.zst
go-tangerine-2f5c95610feb77dd714bf9295d6127bef58f31bc.zip
use logger instead of fmt for error in ext_app
-rw-r--r--ethereal/ext_app.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ethereal/ext_app.go b/ethereal/ext_app.go
index ee723fc3d..ac745ae37 100644
--- a/ethereal/ext_app.go
+++ b/ethereal/ext_app.go
@@ -1,7 +1,6 @@
package main
import (
- "fmt"
"github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethpub"
"github.com/ethereum/eth-go/ethreact"
@@ -58,8 +57,7 @@ func (app *ExtApplication) run() {
err := app.container.Create()
if err != nil {
- fmt.Println(err)
-
+ logger.Errorln(err)
return
}