protected void Application_Error(object sender, EventArgs e)
        {
            Exception exc = Server.GetLastError();

            try
            {
                logger.LogError(exc, "unhandled ", "WebApplication-unhandled");
            }
            catch (Exception)
            {
                throw new HttpResponseException(HttpStatusCode.InternalServerError);
            }
        }