From b91d44b448119562a7c88152848297c7494e6d09 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Thu, 7 Jul 2022 11:52:56 +0200 Subject: [PATCH] Respond with a debug version of the error in rpc `Client` --- crates/client/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs index 538b0fa4b0..0e9ec4076a 100644 --- a/crates/client/src/client.rs +++ b/crates/client/src/client.rs @@ -549,7 +549,7 @@ impl Client { client.respond_with_error( receipt, proto::Error { - message: error.to_string(), + message: format!("{:?}", error), }, )?; Err(error)