Amss.Boilerplate.Api.Global.Application_Error C# (CSharp) Method

Application_Error() protected method

protected Application_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        protected void Application_Error(object sender, EventArgs e)
        {
            var exception = Server.GetLastError();
            Log.Error("Unexpected error.", exception);
        }