lib/mihari/analyzers/pulsedive.rb in mihari-5.4.3 vs lib/mihari/analyzers/pulsedive.rb in mihari-5.4.4

- old
+ new

@@ -23,10 +23,10 @@ @api_key = api_key || Mihari.config.pulsedive_api_key end def artifacts - raise InvalidInputError, "#{query}(type: #{type || "unknown"}) is not supported." unless valid_type? + raise ValueError, "#{query}(type: #{type || "unknown"}) is not supported." unless valid_type? indicator = client.get_indicator(query) iid = indicator["iid"] properties = client.get_properties(iid) (properties["dns"] || []).filter_map do |property|