diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-17 03:33:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-17 03:33:23 +0800 |
commit | e5b97fe03e8789bf4e113946a1935c0ba270ad2b (patch) | |
tree | d9ec7374bdfe296f662e888d09b27eb1ccf2ab5c | |
parent | 2ea05292c0c7947deb90c37378eb36ea78b6cf20 (diff) | |
download | dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.tar dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.tar.gz dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.tar.bz2 dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.tar.lz dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.tar.xz dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.tar.zst dexon-e5b97fe03e8789bf4e113946a1935c0ba270ad2b.zip |
Added proper error message
-rw-r--r-- | peer.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -293,7 +293,9 @@ func (p *Peer) HandleInbound() { err = p.ethereum.BlockManager.ProcessBlock(block) if err != nil { - log.Println("bckmsg", err) + if ethutil.Config.Debug { + log.Printf("[PEER] Block (%x) err %v", block.Hash()[:4], err) + } break } else { lastBlock = block |