Skip to content

Commit

Permalink
Merge pull request #578 from fomars/release
Browse files Browse the repository at this point in the history
ValidationError if package not found
  • Loading branch information
fomars authored Apr 26, 2018
2 parents 895939a + b153f74 commit 85a1c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yandextank/validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def load_plugin_schema(package):
if 'aggregator' in package.lower():
logger.warning('Plugin Aggregator is now deprecated, please remove this section from your config')
return load_yaml_schema(pkg_resources.resource_filename('yandextank.aggregator', 'config/schema.yaml'))
raise
raise ValidationError({'package': ['No module named {}'.format(package)]})


def load_schema(directory, filename=None):
Expand Down

0 comments on commit 85a1c81

Please sign in to comment.