From e266f60e638627aa50de823153dfa31333bfdb28 Mon Sep 17 00:00:00 2001 From: Jared Ondricek Date: Fri, 27 Oct 2023 10:54:54 -0500 Subject: [PATCH] Update logging statement --- modules/util/stixhelpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/util/stixhelpers.py b/modules/util/stixhelpers.py index 165b4ac6388..bcb19631524 100644 --- a/modules/util/stixhelpers.py +++ b/modules/util/stixhelpers.py @@ -408,7 +408,8 @@ def get_stix_memory_stores(): ms[domain["name"]] = stix2.MemoryStore() ms[domain["name"]].load_from_file(stix_filename) else: - exit(f"\n{stix_filename} file does not exist.") + logger.error(f"\n{stix_filename} file does not exist.") + exit() if not domain["deprecated"]: srcs.append(ms[domain["name"]])