1
0

qt: lnurlw: catch UserCancelled on lnurlw withdrawal

Catch the UserCancelled exception if the user cancels the lnurlw
coroutine dialog during the withdrawal.
This commit is contained in:
f321x
2025-12-10 10:55:16 +01:00
parent 4bd013ef10
commit e1f1e6f788

View File

@@ -1002,3 +1002,5 @@ class SendTab(QWidget, MessageBoxMixin, Logger):
self.window.run_coroutine_dialog(coro, _("Requesting lightning withdrawal..."))
except LNURLError as e:
self.show_error(f"{_('Failed to request withdrawal')}:\n{str(e)}")
except UserCancelled:
pass