Skip to content

Commit

Permalink
chore: traced exception format same as response
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Sep 8, 2023
1 parent 8de550d commit 7b71e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abci/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ impl<A: Application> 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");
};
Expand Down

0 comments on commit 7b71e49

Please sign in to comment.