incomplet error message in validation
This commit is contained in:
parent
7460f38a88
commit
9f36e679a1
1 changed files with 2 additions and 1 deletions
|
@ -474,7 +474,8 @@ class Option(OnlyOption):
|
|||
# Raise ValueError if not valid
|
||||
value = carry_out_calculation(current_opt, context=context,
|
||||
callback=validator,
|
||||
callback_params=validator_params_)
|
||||
callback_params=validator_params_,
|
||||
returns_raise=True)
|
||||
if isinstance(value, Exception):
|
||||
return value
|
||||
|
||||
|
|
Loading…
Reference in a new issue