From 03c3c2bc0a276ce23e169fe1e8f987577c5a8d9b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 22 Nov 2021 16:54:09 -0600 Subject: [PATCH] Log tendermint errors as they occur instead of silently dropping them --- validator/src/validator.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validator/src/validator.rs b/validator/src/validator.rs index cc0c2b259d..223bcff073 100644 --- a/validator/src/validator.rs +++ b/validator/src/validator.rs @@ -407,7 +407,9 @@ impl let macro_producer = self.macro_producer.as_mut().unwrap(); while let Poll::Ready(Some(event)) = macro_producer.poll_next_unpin(cx) { match event { - TendermintReturn::Error(_err) => {} + TendermintReturn::Error(err) => { + log::error!("Tendermint Returned an Error: {:?}", err); + } TendermintReturn::Result(block) => { // If the event is a result meaning the next macro block was produced we push it onto our local chain let block_copy = block.clone();