Skip to content

Commit f5a6e11

Browse files
Modularity of code
1 parent 018396b commit f5a6e11

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

detection_rules/rule_validators.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,7 @@ def validate(self, data: "QueryRuleData", meta: RuleMeta, max_attempts: int = 10
372372
# auto add the field and re-validate
373373
self.auto_add_field(validation_checks["stack"], data.index_or_dataview[0])
374374
else:
375-
click.echo(f"Stack Error Message: {validation_checks["stack"].error_msg}")
376375
click.echo(f"Stack Error Trace: {validation_checks["stack"]}")
377-
click.echo(f"Integrations Error Message: {validation_checks["integrations"].error_msg}")
378376
click.echo(f"Integrations Error Trace: {validation_checks["integrations"]}")
379377
raise ValueError("Error in both stack and integrations checks")
380378

0 commit comments

Comments
 (0)