joerghoh commented on a change in pull request #6: URL: https://github.com/apache/sling-org-apache-sling-servlets-post/pull/6#discussion_r526658851
########## File path: src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java ########## @@ -234,6 +235,11 @@ protected void doPost(final SlingHttpServletRequest request, } catch (ResourceNotFoundException rnfe) { htmlResponse.setStatus(HttpServletResponse.SC_NOT_FOUND, rnfe.getMessage()); + } catch (final PersistenceException pe) { + log.warn("PersistenceException while handling POST " Review comment: This WARN statement actually logs the complete stacktrace (see line 241). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org