Skip to content

Commit

Permalink
Fix #322: warn instead of error when no constraints validator found
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarGrootKoerkamp committed Oct 31, 2023
1 parent 2740a33 commit b8fb7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def has_constraints_checking(f):
if has_constraints:
constraint_validators.append(f)
if len(constraint_validators) == 0:
error(
warn(
f'No {validator_type} constraint validators found: No matches for \'constraints_file\'.'
)
return False
Expand Down

0 comments on commit b8fb7be

Please sign in to comment.