diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-19 18:20:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-19 18:20:12 +0800 |
commit | 9b509f64781a5bac37ed5b125ba4214cd7250b59 (patch) | |
tree | 3b6d562ef46b036e0a65362b6410459e1f69da90 /eth/backend.go | |
parent | 89c69a1d257daf973690a7fb96d2aa2b9d0849ec (diff) | |
download | dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.gz dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.bz2 dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.lz dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.xz dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.zst dexon-9b509f64781a5bac37ed5b125ba4214cd7250b59.zip |
Print error instead of returning for seed node err
Returning an error would indicate a complete failure initialising the
Ethereum backend. Instead we should print the message and continue.
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index ad0486309..c3c7d1287 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -245,7 +245,7 @@ func (s *Ethereum) Start(seed bool) error { if seed { logger.Infof("Connect to seed node %v", seedNodeAddress) if err := s.SuggestPeer(seedNodeAddress); err != nil { - return err + logger.Infoln(err) } } |