From bd49ea8d30c40b7a3d05a452408280c121fb8885 Mon Sep 17 00:00:00 2001 From: kylezs Date: Mon, 4 Nov 2024 13:53:29 +0100 Subject: [PATCH] chore: strip url out of error message --- engine/src/sol/rpc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/sol/rpc.rs b/engine/src/sol/rpc.rs index c4b7bbcf9d..2ccb0cbb51 100644 --- a/engine/src/sol/rpc.rs +++ b/engine/src/sol/rpc.rs @@ -97,6 +97,7 @@ async fn call_rpc_raw( .json(&request_body) .send() .await + .map_err(reqwest::Error::without_url) .map_err(Error::Transport)?; let mut json = response.json::().await.map_err(Error::Transport)?;