lib/mihari/analyzers/base.rb in mihari-2.0.0 vs lib/mihari/analyzers/base.rb in mihari-2.1.0
- old
+ new
@@ -40,10 +40,10 @@
end
end
def run_emitter(emitter)
emitter.run(title: title, description: description, artifacts: unique_artifacts, source: source, tags: tags)
- rescue => e
+ rescue StandardError => e
puts "Emission by #{emitter.class} is failed: #{e}"
end
def self.inherited(child)
Mihari.analyzers << child