forked from LBRYCommunity/lbry-sdk
debug
This commit is contained in:
parent
ad7441ca47
commit
00c89a4f0b
1 changed files with 1 additions and 0 deletions
|
@ -480,6 +480,7 @@ class RPCSession(SessionBase):
|
|||
await event.wait()
|
||||
result = event.result
|
||||
if isinstance(result, Exception):
|
||||
self.logger.error("%s sending %s(%s)", result, method, "" if not args else ",".join([str(a) for a in args]))
|
||||
raise result
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in a new issue