diff --git a/yandextank/validator/validator.py b/yandextank/validator/validator.py index 7c7b37157..ac5185e27 100644 --- a/yandextank/validator/validator.py +++ b/yandextank/validator/validator.py @@ -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):