From 9f36e679a1eabf632bb1775a4086638a6348e77a Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 6 Apr 2016 16:14:39 +0200 Subject: [PATCH] incomplet error message in validation --- tiramisu/option/baseoption.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiramisu/option/baseoption.py b/tiramisu/option/baseoption.py index f075f81..2ccfd0a 100644 --- a/tiramisu/option/baseoption.py +++ b/tiramisu/option/baseoption.py @@ -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