From db76e384aa16707ca7a7e891f1bdf19715677c54 Mon Sep 17 00:00:00 2001 From: Diego Date: Mon, 28 Oct 2024 09:55:20 -0300 Subject: [PATCH] Add more logs details --- dot/sync/block_importer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot/sync/block_importer.go b/dot/sync/block_importer.go index 3e6ab4898f..36dc0566fa 100644 --- a/dot/sync/block_importer.go +++ b/dot/sync/block_importer.go @@ -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) } }