forked from LBRYCommunity/lbry-sdk
forward errors outside of uris on channel listing
This commit is contained in:
parent
4e3467bb7e
commit
ba59e126cd
1 changed files with 2 additions and 0 deletions
|
@ -2633,6 +2633,8 @@ class Daemon(AuthJSONRPCServer):
|
||||||
results[chan_uri] = {"error": "%s is not a valid uri" % chan_uri}
|
results[chan_uri] = {"error": "%s is not a valid uri" % chan_uri}
|
||||||
|
|
||||||
resolved = await self.wallet_manager.resolve(*valid_uris, page=page, page_size=page_size)
|
resolved = await self.wallet_manager.resolve(*valid_uris, page=page, page_size=page_size)
|
||||||
|
if 'error' in resolved:
|
||||||
|
return {'error': resolved['error']}
|
||||||
for u in resolved:
|
for u in resolved:
|
||||||
if 'error' in resolved[u]:
|
if 'error' in resolved[u]:
|
||||||
results[u] = resolved[u]
|
results[u] = resolved[u]
|
||||||
|
|
Loading…
Reference in a new issue