[enh] Be able to correctly display the error

This commit is contained in:
ljf 2021-08-31 17:44:42 +02:00
parent bb11b5dcac
commit 08e7fcc48e

View file

@ -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}