mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 05:29:10 +02:00
* Send code 500 in case of exception.
git-svn-id: trunk@17597 -
This commit is contained in:
parent
63f6b66d0f
commit
86ff2a08ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user