mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Be able to correctly display the error
This commit is contained in:
parent
bb11b5dcac
commit
08e7fcc48e
1 changed files with 1 additions and 1 deletions
|
@ -59,4 +59,4 @@ class YunohostValidationError(YunohostError):
|
|||
|
||||
def content(self):
|
||||
|
||||
return {"error": self.strerror, "error_key": self.key}
|
||||
return {"error": self.strerror, "error_key": self.key, **self.kwargs}
|
||||
|
|
Loading…
Add table
Reference in a new issue