diff --git a/crates/json-rpc/src/support/axum.rs b/crates/json-rpc/src/support/axum.rs index 386ffff4bd47..b5cb9e64c2ad 100644 --- a/crates/json-rpc/src/support/axum.rs +++ b/crates/json-rpc/src/support/axum.rs @@ -7,7 +7,7 @@ impl From for Response<(), ()> { id: Id::None, payload: ResponsePayload::Failure(ErrorPayload { code: -32600, - message: value.to_string(), + message: value.to_string().into(), data: None, }), }