moved the error reporting to the httpcontext