lib/mihari/analyzers/rule.rb in mihari-4.1.2 vs lib/mihari/analyzers/rule.rb in mihari-4.2.0
- old
+ new
@@ -143,10 +143,10 @@
klass = get_analyzer_class(analyzer_name)
instance = klass.new("dummy")
unless instance.configured?
klass_name = klass.to_s.split("::").last
- raise ArgumentError, "#{klass_name} is not configured correctly"
+ raise ConfigurationError, "#{klass_name} is not configured correctly"
end
end
end
end
end