diff --git a/waku/src/node_management/node.rs b/waku/src/node_management/node.rs index ca04863..ad048d6 100644 --- a/waku/src/node_management/node.rs +++ b/waku/src/node_management/node.rs @@ -21,8 +21,12 @@ pub fn waku_new(config: Option) -> Result { } .to_str() .expect("Response should always succeed to load to a &str"); - let json_response: JsonResponse = - serde_json::from_str(result).expect("JsonResponse should always succeed to deserialize"); + let json_response: JsonResponse = serde_json::from_str(result) + .map_err(|e| { + dbg!(&e); + e + }) + .expect("JsonResponse should always succeed to deserialize"); json_response.into() }