mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
Log the actual error as well. (#676)
This commit is contained in:
parent
5bed758f85
commit
bb51d32f69
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user