Log more data on the 'Unable to retrieve blinded block data' error

This commit is contained in:
Zahary Karadjov 2022-11-24 18:35:38 +02:00
parent 41f21b2688
commit b7b460cf57
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ proc produceBlindedBlock(
try: try:
await vc.produceBlindedBlock(slot, randao_reveal, graffiti, await vc.produceBlindedBlock(slot, randao_reveal, graffiti,
ApiStrategyKind.Best) ApiStrategyKind.Best)
except ValidatorApiError: except ValidatorApiError as exc:
error "Unable to retrieve blinded block data" error "Unable to retrieve blinded block data", error_msg = exc.msg
return Opt.none(PreparedBlindedBeaconBlock) return Opt.none(PreparedBlindedBeaconBlock)
except CancelledError as exc: except CancelledError as exc:
error "Blinded block data production has been interrupted" error "Blinded block data production has been interrupted"