No response is sent to the client when an exception occurred in Custom Auth Handler.
davuteryilmaz opened this issue · comments
Davut Eryılmaz commented
delphimvcframework/samples/CustomAuth/AuthHandlerU.pas
Lines 56 to 69 in 73573c0
I added raise EDivByZero.Create('Division by zero.');
this line to the method above and run the sample app. Could not get any response when post http://localhost:8080/system/users/logged by Postman. The exception is logged but no respone is sent. Is it posible to send HTTP 500 response when an exception raised in the auth handler? Thanks.
Daniele Teti commented
Will be fixed in 3.1.1-beryllium-RC3