Skip to content

Commit

Permalink
turn printed message
Browse files Browse the repository at this point in the history
back into an error
  • Loading branch information
pyth0n1c committed Feb 11, 2025
1 parent f80842a commit 9c8722a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contentctl/objects/detection_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,7 @@ def sameTypeAndSubtypeNotPresent(
error_string = "\n".join(
str(e) for e in subtype_and_parent_exist_exceptions
)
# raise ValueError(
# "Overlapping MITRE Attack ID Tactics and Subtactics may not be defined. "
# f"Remove the tactic and keep the subtactic:\n{error_string}"
# )
print(
raise ValueError(
"Overlapping MITRE Attack ID Tactics and Subtactics may not be defined. "
f"Remove the tactic and keep the subtactic:\n{error_string}"
)
Expand Down

0 comments on commit 9c8722a

Please sign in to comment.