lib/reek/configuration/configuration_file_finder.rb in reek-5.0.0 vs lib/reek/configuration/configuration_file_finder.rb in reek-5.0.1

- old
+ new

@@ -57,10 +57,10 @@ return {} unless path begin configuration = YAML.load_file(path) || {} rescue StandardError => error - raise Errors::ConfigFileException, "Invalid configuration file #{path}, error is #{error}" + raise Errors::ConfigFileError, "Invalid configuration file #{path}, error is #{error}" end SchemaValidator.new(configuration).validate ConfigurationConverter.new(configuration).convert end