Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Log the actual error as well. (decred#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi authored Apr 29, 2017
1 parent 5bed758 commit bb51d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func (sp *serverPeer) OnGetMiningState(p *peer.Peer, msg *wire.MsgGetMiningState
children, err := bm.GetGeneration(*newest)
if err != nil {
peerLog.Warnf("failed to access block manager to get the generation "+
"for a mining state request (block: %v)", newest)
"for a mining state request (block: %v): %v", newest, err)
return
}

Expand Down

0 comments on commit bb51d32

Please sign in to comment.