From 64c4b97ec9db950b4eb5d64337afd417f9cb4464 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 17 Jun 2021 13:26:09 -0300 Subject: [PATCH] catch error on redeem_lnurl_withdraw call. --- lnbits/core/services.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lnbits/core/services.py b/lnbits/core/services.py index f2821fdc..13e56c53 100644 --- a/lnbits/core/services.py +++ b/lnbits/core/services.py @@ -229,10 +229,10 @@ async def redeem_lnurl_withdraw( pass async with httpx.AsyncClient() as client: - await client.get( - res["callback"], - params=params, - ) + try: + await client.get(res["callback"], params=params) + except Exception: + pass async def perform_lnurlauth(