forked from LBRYCommunity/lbry-sdk
specify exception
This commit is contained in:
parent
cf8592ba12
commit
1ffcd67c9d
1 changed files with 1 additions and 1 deletions
|
@ -1178,7 +1178,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
def _resolve_name(self, name, force_refresh=False):
|
||||
try:
|
||||
verify_name_characters(name)
|
||||
except:
|
||||
except AssertionError:
|
||||
log.error("Bad name")
|
||||
return defer.fail(InvalidNameError("Bad name"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue