mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-06 19:08:12 +02:00
fix: do not loose error, log it
This commit is contained in:
parent
81df5a56e2
commit
b68b8a0292
@ -214,7 +214,8 @@ async def api_payments_create_invoice(data: CreateInvoiceData, wallet: Wallet):
|
||||
lnurl_response = resp["reason"]
|
||||
else:
|
||||
lnurl_response = True
|
||||
except (httpx.ConnectError, httpx.RequestError):
|
||||
except (httpx.ConnectError, httpx.RequestError) as ex:
|
||||
logger.error(ex)
|
||||
lnurl_response = False
|
||||
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user