500-error geen overbodige sourcecode logging bij timeout
svn path=/Website/trunk/; revision=35448
This commit is contained in:
@@ -305,6 +305,7 @@ if (Application("otap_environment") == "O" || __Logging > 0)
|
||||
extra += "<tr><td>Url:</td><td title='" + Server.HTMLEncode(ttl) + "'>" + Server.HTMLEncode(method + " " + pad) + "</td></tr>";
|
||||
Response.Write(ASPErrorText(extra));
|
||||
|
||||
if (objASPError.Line > 0)
|
||||
Response.Write("\n<br>" + ShowSourcecode(-8, +4));
|
||||
}
|
||||
LogErrorToFile(); // verwijdert ook last_sql
|
||||
@@ -378,6 +379,7 @@ function LogErrorToFile()
|
||||
var duration = Math.round((now.getTime() - start.getTime()) / 100) / 10;
|
||||
__SafeDoLog("Page started at " + toISODateTimeString(start) + " which is " + duration + " seconds ago");
|
||||
}
|
||||
if (objASPError.Line > 0)
|
||||
__SafeDoLog(ShowSourcecode(-8, +4));
|
||||
|
||||
if (Request.QueryString.Count>0) // Hele URL is al wel gelogd maar dit is leesbaarder
|
||||
|
||||
Reference in New Issue
Block a user