Browse Source
cosigner pool: show exception text if failing to send to server
3.2.x
SomberNight
7 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
2 deletions
-
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) |
|
|
|