From 28fc70de6d3a8aabcaea6cefffd7afb14ae7cc66 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Thu, 27 Oct 2022 16:46:49 +0200 Subject: [PATCH] Add error to block production log --- beacon_chain/validators/validator_duties.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/validators/validator_duties.nim b/beacon_chain/validators/validator_duties.nim index 83c8af5fa..55d562a98 100644 --- a/beacon_chain/validators/validator_duties.nim +++ b/beacon_chain/validators/validator_duties.nim @@ -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