use logger instead of fmt for error in ext_app

pull/104/head
zelig 10 years ago
parent 74abc457ad
commit 2f5c95610f
  1. 4
      ethereal/ext_app.go

@ -1,7 +1,6 @@
package main package main
import ( import (
"fmt"
"github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethpub" "github.com/ethereum/eth-go/ethpub"
"github.com/ethereum/eth-go/ethreact" "github.com/ethereum/eth-go/ethreact"
@ -58,8 +57,7 @@ func (app *ExtApplication) run() {
err := app.container.Create() err := app.container.Create()
if err != nil { if err != nil {
fmt.Println(err) logger.Errorln(err)
return return
} }

Loading…
Cancel
Save