commit a5a7c205e36263dca75a182e2549fedcca8b7896
parent d08ed6410a49302151ed4122fd4a5047595dc9eb
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 10 Dec 2019 23:31:58 +0100
trivial: add a few log lines for startup
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/electrum/daemon.py b/electrum/daemon.py
@@ -485,6 +485,7 @@ class Daemon(Logger):
gui_name = config.get('gui', 'qt')
if gui_name in ['lite', 'classic']:
gui_name = 'qt'
+ self.logger.info(f'launching GUI: {gui_name}')
gui = __import__('electrum.gui.' + gui_name, fromlist=['electrum'])
self.gui_object = gui.ElectrumGui(config, self, plugins)
try:
diff --git a/electrum/ecc_fast.py b/electrum/ecc_fast.py
@@ -263,7 +263,8 @@ def is_using_fast_ecc():
try:
_libsecp256k1 = load_library()
-except:
+except BaseException as e:
+ _logger.warning(f'failed to load libsecp256k1: {repr(e)}')
_libsecp256k1 = None
_prepare_monkey_patching_of_python_ecdsa_internals_with_libsecp256k1()