Update lnbits/core/views/api.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
dni ⚡
2022-07-26 09:08:16 +02:00
committed by GitHub
co-authored by calle
parent 8d89518271
commit 5810a4993b
+1 -1
View File
@@ -308,7 +308,7 @@ async def api_payments_pay_lnurl(
timeout=40, timeout=40,
) )
if r.is_error: if r.is_error:
raise httpx.ConnectError("LNURL Callback Connection Error") raise httpx.ConnectError("LNURL callback connection error")
except (httpx.ConnectError, httpx.RequestError): except (httpx.ConnectError, httpx.RequestError):
raise HTTPException( raise HTTPException(
status_code=HTTPStatus.BAD_REQUEST, status_code=HTTPStatus.BAD_REQUEST,