We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e56cca commit 8ce8d87Copy full SHA for 8ce8d87
1 file changed
src/ethereum-json-rpc-client/src/canister_client.rs
@@ -40,7 +40,7 @@ impl<T: CanisterClient + Sync + 'static> Client for T {
40
} else {
41
client.query("http_request", (args,)).await
42
}
43
- .context("failed to send RPC request");
+ .map_err(anyhow::Error::from);
44
45
let http_response = match http_response {
46
Ok(response) => response,
0 commit comments