Skip to content

Commit

Permalink
Update logging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jondricek committed Oct 27, 2023
1 parent 8d1b4cc commit e266f60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/util/stixhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]])
Expand Down

0 comments on commit e266f60

Please sign in to comment.