Skip to content

Commit 4216c45

Browse files
committed
error into message for now
1 parent 0745169 commit 4216c45

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

contentctl/objects/detection_tags.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,11 @@ def sameTypeAndSubtypeNotPresent(
196196
error_string = "\n".join(
197197
str(e) for e in subtype_and_parent_exist_exceptions
198198
)
199-
raise ValueError(
199+
# raise ValueError(
200+
# "Overlapping MITRE Attack ID Tactics and Subtactics may not be defined. "
201+
# f"Remove the tactic and keep the subtactic:\n{error_string}"
202+
# )
203+
print(
200204
"Overlapping MITRE Attack ID Tactics and Subtactics may not be defined. "
201205
f"Remove the tactic and keep the subtactic:\n{error_string}"
202206
)

0 commit comments

Comments
 (0)