Skip to content

Commit

Permalink
Add more logs details
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Oct 28, 2024
1 parent 920a215 commit db76e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/sync/block_importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (b *blockImporter) processBlockData(blockData types.BlockData, origin Block
round, setID, err = b.finalityGadget.VerifyBlockJustification(
blockData.Header.Hash(), blockData.Header.Number, *blockData.Justification)
if err != nil {
return fmt.Errorf("verifying justification: %w", err)
return fmt.Errorf("verifying justification for block %s: %w", blockData.Header.Hash().String(), err)
}
}

Expand Down

0 comments on commit db76e38

Please sign in to comment.