ttrivial: use logger.exception instead of traceback.print_exc - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 03cc63205fbc7eb46466d91ee5029450df42c0d4 (DIR) parent 6f246a83b307a63b80b0d98c1f0f3c606e45170a (HTM) Author: SomberNight <somber.night@protonmail.com> Date: Thu, 21 Nov 2019 17:55:00 +0100 ttrivial: use logger.exception instead of traceback.print_exc Diffstat: M electrum/gui/kivy/uix/screens.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py t@@ -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 t@@ -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: