Dbg error on gh actions

This commit is contained in:
Daniel Sanchez Quiros 2022-09-29 19:18:10 +02:00
parent 0d3b53daff
commit d5eb5c53dc

View File

@ -21,8 +21,12 @@ pub fn waku_new(config: Option<NodeConfig>) -> Result<bool> {
} }
.to_str() .to_str()
.expect("Response should always succeed to load to a &str"); .expect("Response should always succeed to load to a &str");
let json_response: JsonResponse<bool> = let json_response: JsonResponse<bool> = serde_json::from_str(result)
serde_json::from_str(result).expect("JsonResponse should always succeed to deserialize"); .map_err(|e| {
dbg!(&e);
e
})
.expect("JsonResponse should always succeed to deserialize");
json_response.into() json_response.into()
} }