Quote STIX path in log line

This commit is contained in:
Donncha Ó Cearbhaill
2025-10-06 09:50:24 +02:00
parent 2d547662f8
commit 70d646af78

View File

@@ -73,7 +73,7 @@ class Indicators:
self.parse_stix2(file)
else:
self.log.error(
"Path specified with env MVT_STIX2 is not a valid path: %s", path
"Path specified with env MVT_STIX2 is not a valid path: '%s'", path
)
def _new_collection(
@@ -212,7 +212,7 @@ class Indicators:
:type file_path: str
"""
self.log.info("Parsing STIX2 indicators file at path %s", file_path)
self.log.info("Parsing STIX2 indicators file at path '%s'", file_path)
with open(file_path, "r", encoding="utf-8") as handle:
try: