more informative name error

This commit is contained in:
Job Evers 2017-01-02 19:47:34 -06:00
parent 6faee910de
commit 16fc416d88

View file

@ -2674,7 +2674,7 @@ def get_lbry_file_search_value(p):
value = p.get(searchtype) value = p.get(searchtype)
if value: if value:
return searchtype, value return searchtype, value
raise NoValidSearch() raise NoValidSearch('{} is missing a valid search type'.format(p))
def run_reflector_factory(factory): def run_reflector_factory(factory):