Skip to content

Commit

Permalink
Error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Moksnes committed Feb 14, 2020
1 parent 5fa4b1c commit 0c84a39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ProxyWebModuleUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ procedure TProxyWebModule.ProxyWebModuleAutoActionAction(Sender: TObject;

procedure TProxyWebModule.HandleException;
begin
Log.D('Service handler error: %s', [Exception(ExceptObject).Message]);

// Send the response ourselves in an exception handler that eats all exceptions to
// prevent the default handler from doing it and showing an error message box
if not Response.Sent then
Expand Down

0 comments on commit 0c84a39

Please sign in to comment.