Skip to content

Commit

Permalink
#3392: Fix for error message string in errors list.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbillowsMO committed May 23, 2024
1 parent ac0ceaf commit 4ab8237
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def validate_user_config_file(user_config_file_content):
errors.append(
f'Validation error for {user_config_key.upper()} with '
f'value "{usr_config_value}"\nERROR: {err}\n')
if errors:
if len(errors) > 1:
raise ValidationError("\n".join(errors))
print("All validation checks passed.")

Expand Down

0 comments on commit 4ab8237

Please sign in to comment.