diff --git a/larigira/dbadmin/__init__.py b/larigira/dbadmin/__init__.py index 322a2cd..501e27e 100644 --- a/larigira/dbadmin/__init__.py +++ b/larigira/dbadmin/__init__.py @@ -44,6 +44,7 @@ def addtime_kind_post(kind): form = Form() del Form if not form.validate_on_submit(): + current_app.logger.error('Validation errors: {}'.format(form.errors)) abort(400) data = receiver(form) model = current_app.larigira.monitor.source.model