mirror of
https://github.com/mvt-project/mvt.git
synced 2026-03-08 20:10:43 +00:00
Improved logging around detection results
This commit is contained in:
@@ -167,10 +167,14 @@ def run_module(module):
|
||||
else:
|
||||
try:
|
||||
module.check_indicators()
|
||||
if not module.detected:
|
||||
module.log.info("No detection!")
|
||||
except NotImplementedError:
|
||||
module.log.info("The %s module does not support checking for indicators",
|
||||
module.__class__.__name__)
|
||||
pass
|
||||
else:
|
||||
if module.indicators and not module.detected:
|
||||
module.log.info("The %s module produced no detections!",
|
||||
module.__class__.__name__)
|
||||
|
||||
try:
|
||||
module.to_timeline()
|
||||
|
||||
Reference in New Issue
Block a user