tnetwork: follow-up 38ab7ee554b89b96c5ac7ea1b83d275d6cdb3cad - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 019884a98b3bf615f2f02bbbdd4512b55d765ebc DIR parent 2174fc0676aa24797fc5a5c635c14d9d285a5374 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 12 Feb 2019 19:23:58 +0100 network: follow-up 38ab7ee554b89b96c5ac7ea1b83d275d6cdb3cad Diffstat: M electrum/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/network.py b/electrum/network.py t@@ -775,7 +775,7 @@ class Network(PrintError): def catch_server_exceptions(func): async def wrapper(self, *args, **kwargs): try: - await func(self, *args, **kwargs) + return await func(self, *args, **kwargs) except aiorpcx.jsonrpc.CodeMessageError as e: raise UntrustedServerReturnedError(original_exception=e) return wrapper