diff --git a/Teknik/Global.asax.cs b/Teknik/Global.asax.cs index 443ab22..733ee70 100644 --- a/Teknik/Global.asax.cs +++ b/Teknik/Global.asax.cs @@ -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); + } } }