Skip to content

Commit

Permalink
PR #347
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed Jan 10, 2024
1 parent e52a0b2 commit 99b61b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Horse.Exception.pas
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function EHorseException.ToJSONObject: TJsonObject;
Result.{$IF DEFINED(FPC)}Add{$ELSE}AddPair{$ENDIF}('unit', FUnit);

if not FDetail.Trim.IsEmpty then
Result.{$IF DEFINED(FPC)}Add{$ELSE}AddPair{$ENDIF}('detail', FUnit);
Result.{$IF DEFINED(FPC)}Add{$ELSE}AddPair{$ENDIF}('detail', FDetail);
end;

end.

0 comments on commit 99b61b7

Please sign in to comment.