diff options
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r-- | ipalib/parameters.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py index da01bfcf..4d46297c 100644 --- a/ipalib/parameters.py +++ b/ipalib/parameters.py @@ -521,7 +521,13 @@ class Param(ReadOnly): for rule in self.all_rules: error = rule(ugettext, value) if error is not None: - raise ValidationError(name=self.name, error=error, index=index) + raise ValidationError( + name=self.name, + value=value, + index=index, + error=error, + rule=rule, + ) def get_default(self, **kw): """ |