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:
parent
3dd0f3b7a3
commit
ed9a12771b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user