Add error to block production log

This commit is contained in:
Jacek Sieka 2022-10-27 16:46:49 +02:00
parent a958313feb
commit 28fc70de6d
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ proc makeBeaconBlockForHeadAndSlot*(
# log instead of asserting
beacon_block_production_errors.inc()
error "Cannot create block for proposal",
slot, head = shortLog(head)
slot, head = shortLog(head), error
$error