mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
cosigner pool: show exception text if failing to send to server
This commit is contained in:
parent
1ed3e0cad6
commit
f6cb26be1f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue