Skip to content

Commit 348de8d

Browse files
authored
Fix error reporting not shown when running model validation (#20445)
1 parent 42efb0a commit 348de8d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix validate models error reporting which would not report an invalid schema in the config spec and just fail

datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def models(ctx, check, sync, verbose):
154154
files_failed[model_file_path] = True
155155
for error in errors:
156156
check_display_queue.append((echo_failure, error))
157+
display_queue[model_file_path] = check_display_queue
157158
continue
158159

159160
generated_model_file_lines = contents.splitlines(True)

0 commit comments

Comments
 (0)