From f6cb26be1fa1d1b3de92e5fce6c24f60d70d357a Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 19 Apr 2018 01:38:49 +0200 Subject: [PATCH] cosigner pool: show exception text if failing to send to server --- plugins/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 index cd05a533c..8f98a81ac 100644 --- 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)