1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Removed logging in application_end_request for http headers errors

This commit is contained in:
Uncled1023 2017-02-20 21:36:14 -08:00
parent 3dd0f3b7a3
commit ed9a12771b

View File

@ -69,8 +69,11 @@ namespace Teknik
}
catch (Exception ex)
{
// Just log it
Logging.Logger.WriteEntry(Logging.LogLevel.Warning, "Error in Application_EndRequest", ex);
if (!ex.Message.Contains("Server cannot append header after HTTP headers have been sent"))
{
// Just log it
Logging.Logger.WriteEntry(Logging.LogLevel.Warning, "Error in Application_EndRequest", ex);
}
}
}