diff --git a/pillar/__init__.py b/pillar/__init__.py index 4b09e52d..d52744b4 100644 --- a/pillar/__init__.py +++ b/pillar/__init__.py @@ -663,7 +663,7 @@ class PillarServer(BlinkerCompatibleEve): return self.pillar_error_handler(error) def handle_sdk_resource_invalid(self, error): - self.log.info('Forwarding ResourceInvalid exception to client: %s', error, exc_info=True) + self.log.exception('Forwarding ResourceInvalid exception to client: %s', error, exc_info=True) # Raising a Werkzeug 422 exception doens't work, as Flask turns it into a 500. return _('The submitted data could not be validated.'), 422