aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/main.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 22:44:05 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 22:44:05 +0800
commit0bb7377ebee69c3467c21d355dd24945d0becad5 (patch)
treeb358540359800a9bdc0c312061d0557bd2a5609e /cmd/mist/main.go
parent9d4e1e8f8bbdfa84937bcdcdc6b4ca4ba6cd79a2 (diff)
downloaddexon-0bb7377ebee69c3467c21d355dd24945d0becad5.tar.gz
dexon-0bb7377ebee69c3467c21d355dd24945d0becad5.tar.zst
dexon-0bb7377ebee69c3467c21d355dd24945d0becad5.zip
cmd/ethereum: show more helpful message if no accounts exist
Diffstat (limited to 'cmd/mist/main.go')
-rw-r--r--cmd/mist/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index c27f1dba9..9a773e33a 100644
--- a/cmd/mist/main.go
+++ b/cmd/mist/main.go
@@ -95,7 +95,10 @@ func run(ctx *cli.Context) {
tstart := time.Now()
// TODO: show qml popup instead of exiting if initialization fails.
- ethereum := utils.GetEthereum(ClientIdentifier, Version, ctx)
+ ethereum, err := utils.GetEthereum(ClientIdentifier, Version, ctx)
+ if err != nil {
+ utils.Fatalf("%v", err)
+ }
utils.StartRPC(ethereum, ctx)
go utils.StartEthereum(ethereum)
fmt.Println("initializing eth stack took", time.Since(tstart))