From 22878c827081d1737b2eb2ec5e3fc399de161865 Mon Sep 17 00:00:00 2001 From: Binarybaron Date: Fri, 29 Nov 2024 22:29:55 +0100 Subject: [PATCH] fix(gui): Do not fail get_swap_infos_call if >1 retrieval fails --- swap/src/cli/api/request.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/swap/src/cli/api/request.rs b/swap/src/cli/api/request.rs index bfd10e4ed..5e913fc32 100644 --- a/swap/src/cli/api/request.rs +++ b/swap/src/cli/api/request.rs @@ -459,8 +459,12 @@ pub async fn get_swap_infos_all(context: Arc) -> Result swap_infos.push(swap_info), + Err(error) => { + tracing::error!(%swap_id, %error, "Failed to get swap info"); + } + } } Ok(swap_infos)