From d5eb5c53dcd293dd138a6a070d305b90b518cd8d Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Quiros Date: Thu, 29 Sep 2022 19:18:10 +0200 Subject: [PATCH] Dbg error on gh actions --- waku/src/node_management/node.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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() }