mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
trivial: use logger.exception instead of traceback.print_exc
This commit is contained in:
parent
6f246a83b3
commit
03cc63205f
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ from kivy.uix.image import Image
|
|||
from kivy.lang import Builder
|
||||
from kivy.factory import Factory
|
||||
from kivy.utils import platform
|
||||
from kivy.logger import Logger
|
||||
|
||||
from electrum.util import profiler, parse_URI, format_time, InvalidPassword, NotEnoughFunds, Fiat
|
||||
from electrum.util import PR_TYPE_ONCHAIN, PR_TYPE_LN
|
||||
|
@ -360,7 +361,7 @@ class SendScreen(CScreen):
|
|||
self.app.show_error(_("Not enough funds"))
|
||||
return
|
||||
except Exception as e:
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
Logger.exception('')
|
||||
self.app.show_error(repr(e))
|
||||
return
|
||||
if rbf:
|
||||
|
|
Loading…
Add table
Reference in a new issue