When you specify the Cocoon engine to not handle errors internally
(handle.errors.internally property in the cocoon.properties) it just sends
the error code to the web server. It would be useful to send the stack trace
information as well when an exception is raised in Engine.handle(req, res)
method. This results in having a call to HttpServletResponse.sendError(int,
String) instead of the actual HttpServletResponse.sendError(int) in the
Cocoon service method.
Could that be included in the next release?
Thanks
Pascal
|