From f5eb44a6e2d55d87f40783813d5df6a7a1ce44b2 Mon Sep 17 00:00:00 2001 From: msutton Date: Fri, 30 Sep 2022 03:27:01 +0300 Subject: [PATCH] Add IBD error details to the log --- app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go b/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go index b53589116..2be9bb341 100644 --- a/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go +++ b/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go @@ -25,7 +25,7 @@ func (flow *handleIBDFlow) ibdWithHeadersProof( return err } - log.Infof("IBD with pruning proof from %s was unsuccessful. Deleting the staging consensus.", flow.peer) + log.Infof("IBD with pruning proof from %s was unsuccessful. Deleting the staging consensus. (%s)", flow.peer, err) deleteStagingConsensusErr := flow.Domain().DeleteStagingConsensus() if deleteStagingConsensusErr != nil { return deleteStagingConsensusErr