mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
network: follow-up 38ab7ee554
This commit is contained in:
parent
2174fc0676
commit
019884a98b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue