trying to improve logging and error handling in BRJSServlet to help debug linux HostedAppTests