electrum

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

commit f6cb26be1fa1d1b3de92e5fce6c24f60d70d357a
parent 1ed3e0cad6f803a1960af7908a3013bbffbcf092
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:
Mplugins/cosigner_pool/qt.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/cosigner_pool/qt.py b/plugins/cosigner_pool/qt.py @@ -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.")) @@ -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)