Skip to content

Commit 0662243

Browse files
committed
rpc: Format error with {:#}
1 parent 6d146c3 commit 0662243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ra-rpc/src/rocket_helper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl<S> PrpcHandler<'_, '_, S> {
248248
match result {
249249
Ok(output) => output,
250250
Err(e) => {
251-
let estr = format!("{e:?}");
251+
let estr = format!("{e:#}");
252252
warn!("error handling prpc: {estr}");
253253
let body = encode_error(json, estr);
254254
RpcResponse {

0 commit comments

Comments
 (0)