mirror of
https://github.com/waku-org/waku-rust-bindings.git
synced 2025-02-16 16:47:33 +00:00
Dbg error on gh actions
This commit is contained in:
parent
0d3b53daff
commit
d5eb5c53dc
@ -21,8 +21,12 @@ pub fn waku_new(config: Option<NodeConfig>) -> Result<bool> {
|
||||
}
|
||||
.to_str()
|
||||
.expect("Response should always succeed to load to a &str");
|
||||
let json_response: JsonResponse<bool> =
|
||||
serde_json::from_str(result).expect("JsonResponse should always succeed to deserialize");
|
||||
let json_response: JsonResponse<bool> = serde_json::from_str(result)
|
||||
.map_err(|e| {
|
||||
dbg!(&e);
|
||||
e
|
||||
})
|
||||
.expect("JsonResponse should always succeed to deserialize");
|
||||
json_response.into()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user