diff --git a/src/components/SwapChecker.tsx b/src/components/SwapChecker.tsx index a357b1d5..972a96fd 100644 --- a/src/components/SwapChecker.tsx +++ b/src/components/SwapChecker.tsx @@ -293,9 +293,18 @@ export const SwapChecker = () => { true, ); } catch (e) { + const err: unknown = + typeof e.json === "function" ? (await e.json()).error : e; + if (err === "swap not eligible for a cooperative claim") { + log.debug( + `Server did not want help claiming ${currentSwap.id}`, + ); + return; + } + const msg = "creating cooperative signature for submarine swap claim failed"; - log.warn(msg, e); + log.warn(msg, err); notify("error", msg); } }