This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit f966c64b7d59465990608824aacb88848f6c4ab5 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Tue May 30 13:32:31 2017 +0200 log d'error a l'import du LDAP --- .../src/main/java/org/chorem/pollen/rest/api/v1/ErrorAction.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/ErrorAction.java b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/ErrorAction.java index 7839f36..146353a 100644 --- a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/ErrorAction.java +++ b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/ErrorAction.java @@ -21,6 +21,8 @@ package org.chorem.pollen.rest.api.v1; * #L% */ +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.chorem.pollen.rest.api.PollenRenderError; import org.chorem.pollen.services.service.FavoriteListImportException; import org.chorem.pollen.services.service.InvalidFormException; @@ -38,6 +40,8 @@ import javax.servlet.http.HttpServletResponse; */ public class ErrorAction extends WebMotionController { + private static final Log log = LogFactory.getLog(ErrorAction.class); + public InvalidFormException on400Form(HttpContext context, InvalidFormException e) { // just return the exception, @@ -46,7 +50,9 @@ public class ErrorAction extends WebMotionController { } public FavoriteListImportException on400Import(HttpContext context, FavoriteListImportException e) { - + if (log.isErrorEnabled()) { + log.error(e.getMessage(), e); + } // just return the exception, return e; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.