betterFORM/betterFORM — pull request #37 by opax (2014-10-15 12:35:26+00:00)
Title: More robust error logging in ErrorServlet

There were several cases where internal processing in the ErrorServlet would throw an exception, resulting in the overly broad (and often wrong) message „XFormsException: Prefix xf has not been declared“ in the log.

This patch logs whatever information has been collected up to the point of the exception, resulting in much more helpful messages. It also uses LOGGER to output the error document instead of dumping it to System.out .