* Send code 500 in case of exception.

git-svn-id: trunk@17597 -
This commit is contained in:
michael 2011-05-28 09:18:49 +00:00
parent 63f6b66d0f
commit 86ff2a08ba

View File

@ -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';
end;
If (R.ContentType='text/html') then