mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 12:01:12 +02:00
try-catch in pay_invoice on global lnurl-withdraw.
This commit is contained in:
@@ -153,7 +153,10 @@ async def lnurl_full_withdraw_callback():
|
||||
pr = request.args.get("pr")
|
||||
|
||||
async def pay():
|
||||
await pay_invoice(wallet_id=wallet.id, payment_request=pr)
|
||||
try:
|
||||
await pay_invoice(wallet_id=wallet.id, payment_request=pr)
|
||||
except:
|
||||
pass
|
||||
|
||||
current_app.nursery.start_soon(pay)
|
||||
|
||||
|
Reference in New Issue
Block a user