enapps-enorman opened a new pull request #15:
URL: https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/15


   In SlingServletResolver#handleError if the errorHandler servlet has already 
closed the response writer, then it should not attempt to flush/close it again. 
  
   
   The attempt to flush/close the already closed writer after the errorHandler 
servlet is invoked can result in a WriterAlreadyClosedException being thrown 
which can fill up the logs with noise.
   
   For example, if a custom error handler servlet is generating a JSON error 
response using a JsonGenerator that writes to the response writer, then closing 
the JsonGenerator object would also close the response writer.


-- 
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:
[email protected]


Reply via email to