git-svn-id: trunk@17597 -
@@ -272,6 +272,8 @@ begin
end;
If (not R.HeadersSent) then
begin
+ R.Code:=500;
+ R.CodeText:='Application error '+E.ClassName;
R.ContentType:='text/html';
If (R.ContentType='text/html') then