Skip to content

Commit 967b3b3

Browse files
author
Alan Christie
committed
feat: Better validation error message
1 parent e90a313 commit 967b3b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

workflow/workflow_validator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ def _validate_run_level(
184184
)
185185
if not job:
186186
errors.append(
187-
f"Step {step_name} Job ({j_collection}|{j_job}|{j_version}) is not present"
187+
f"The job for step '{step_name}' is not present"
188+
f" ({j_collection}|{j_job}|{j_version})"
188189
)
189190
if errors:
190191
return ValidationResult(error_num=9, error_msg=errors)

0 commit comments

Comments
 (0)