tcosigner pool: show exception text if failing to send to server - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f6cb26be1fa1d1b3de92e5fce6c24f60d70d357a DIR parent 1ed3e0cad6f803a1960af7908a3013bbffbcf092 HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 19 Apr 2018 01:38:49 +0200 cosigner pool: show exception text if failing to send to server Diffstat: M plugins/cosigner_pool/qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/plugins/cosigner_pool/qt.py b/plugins/cosigner_pool/qt.py t@@ -179,7 +179,7 @@ class Plugin(BasePlugin): server.put(_hash, message) except Exception as e: traceback.print_exc(file=sys.stdout) - window.show_message(_("Failed to send transaction to cosigning pool.")) + window.show_error(_("Failed to send transaction to cosigning pool") + ':\n' + str(e)) return window.show_message(_("Your transaction was sent to the cosigning pool.") + '\n' + _("Open your cosigner wallet to retrieve it.")) t@@ -219,7 +219,7 @@ class Plugin(BasePlugin): message = bh2u(EC.decrypt_message(message)) except Exception as e: traceback.print_exc(file=sys.stdout) - window.show_message(str(e)) + window.show_error(_('Error decrypting message') + ':\n' + str(e)) return self.listener.clear(keyhash)