We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
get_table_rows
1 parent d701cd9 commit c12b89fCopy full SHA for c12b89f
crates/antelope/src/api/v1/chain.rs
@@ -297,7 +297,12 @@ impl<T: Provider> ChainAPI<T> {
297
298
let response = match result.await {
299
Ok(response) => response,
300
- Err(_) => return Err(ClientError::NETWORK("Failed to get table rows".into())),
+ Err(error) => {
301
+ return Err(ClientError::NETWORK(format!(
302
+ "Failed to get table rows, reason: {}",
303
+ error
304
+ )))
305
+ }
306
};
307
let json: Value = serde_json::from_str(response.as_str()).unwrap();
308
let response_obj = JSONObject::new(json);
0 commit comments