Update lnbits/core/views/api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
parent
8d89518271
commit
5810a4993b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue