SlingPostServlet swallows exceptions
------------------------------------

                 Key: SLING-669
                 URL: https://issues.apache.org/jira/browse/SLING-669
             Project: Sling
          Issue Type: Improvement
          Components: Servlets Post
            Reporter: Alexander Klimetschek
            Priority: Minor


The SlingPostServlet handle Exceptions/Throwables by just setting the error to 
the o.a.s.api.servlets.HtmlResponse, which in the standard implementation only 
prints error.toString() as the message title, which omits the stacktrace.

The servlet should at least log the error in DEBUG level. Additionaly, one 
might want to extend the HtmlResponse to include the full stacktrace in case of 
an error (the html response output is intended for developers, so it could 
include all kinds of nasty error messages ;-))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to