forked from LBRYCommunity/lbry-sdk
Improve error message upon failing to resolve a claim
This commit is contained in:
parent
f06366b7dd
commit
8735e1bb53
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ at anytime.
|
|||
* Renamed `lbrynet.lbrynet_daemon` to `lbrynet.daemon`
|
||||
* Initialize lbrynet settings when configuring an api client if they are not set yet
|
||||
* Updated lbryum imports
|
||||
* Improve error message when resolving a claim fails using the "get" command
|
||||
*
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -1501,7 +1501,7 @@ class Daemon(AuthJSONRPCServer):
|
|||
|
||||
if not resolved or 'value' not in resolved:
|
||||
if 'claim' not in resolved:
|
||||
raise Exception("Nothing to download")
|
||||
raise Exception("Failed to resolve stream at lbry://{}".format(uri.replace("lbry://", "")))
|
||||
else:
|
||||
resolved = resolved['claim']
|
||||
|
||||
|
|
Loading…
Reference in a new issue