We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f440032 commit 5f21d3cCopy full SHA for 5f21d3c
Src/Horse.HandleException.pas
@@ -60,7 +60,7 @@ procedure HandleException(Req: THorseRequest; Res: THorseResponse; Next: {$IF DE
60
begin
61
LJSON.{$IF DEFINED(FPC)}Add{$ELSE}AddPair{$ENDIF}('type', GetEnumName(TypeInfo(TMessageType), Integer(E.&Type)));
62
end;
63
- SendError(Res, LJSON, E.Code);
+ SendError(Res, LJSON, Integer(E.Status));
64
65
on E: Exception do
66
0 commit comments