electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 03cc63205fbc7eb46466d91ee5029450df42c0d4
parent 6f246a83b307a63b80b0d98c1f0f3c606e45170a
Author: SomberNight <somber.night@protonmail.com>
Date:   Thu, 21 Nov 2019 17:55:00 +0100

trivial: use logger.exception instead of traceback.print_exc

Diffstat:
Melectrum/gui/kivy/uix/screens.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py @@ -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: