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.
2 parents 7f96620 + 92d16f2 commit 435ffa0Copy full SHA for 435ffa0
rusk/src/lib/http/chain.rs
@@ -146,7 +146,7 @@ impl RuskNode {
146
let gql_res = schema.execute(gql_query).await;
147
let async_graphql::Response { data, errors, .. } = gql_res;
148
if !errors.is_empty() {
149
- return Err(anyhow::anyhow!("{errors:?}"));
+ return Err(anyhow::anyhow!(serde_json::to_value(errors)?));
150
}
151
let data = serde_json::to_value(&data)
152
.map_err(|e| anyhow::anyhow!("Cannot parse response {e}"))?;
0 commit comments