From 7b71e4979b41ca78b60da4d5669b3aa68c416aa2 Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Fri, 8 Sep 2023 15:59:34 +0200 Subject: [PATCH] chore: traced exception format same as response --- abci/src/application.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abci/src/application.rs b/abci/src/application.rs index 5b4730e..8fbc2fc 100644 --- a/abci/src/application.rs +++ b/abci/src/application.rs @@ -179,8 +179,8 @@ impl RequestDispatcher for A { } .unwrap_or_else(|e| e.into()); - if let response::Value::Exception(ref exception) = response { - tracing::error!(response=?exception, "sending ABCI exception"); + if let response::Value::Exception(_) = response { + tracing::error!(response=?response, "sending ABCI exception"); } else { tracing::trace!(?response, "sending ABCI response"); };