Alexander Finn
10/02/2020, 1:15 PMcall.recieve
or call.respond
- it actually hides the exception and only prints something like this:
INFO Application - 200 OK: GET - /api/v2/announcements, io failed
In the case of deserialization exception during call.recieve
it returns empty reponse with status 500, in the case of serialization durint call.respond
it returns empty response with status 200 (and this is even more of a problem).
Does it mean that the best practice is to always wrap both method calls with try..catch? Or any configuration option I can enable to make such issues more prominent in the logs and the ways responses are handled?Rustam Siniukov
10/02/2020, 1:28 PMAlexander Finn
10/02/2020, 1:29 PMRustam Siniukov
10/02/2020, 1:37 PMAlexander Finn
10/02/2020, 1:38 PMRustam Siniukov
10/02/2020, 1:38 PMRustam Siniukov
10/02/2020, 1:41 PMAlexander Finn
10/02/2020, 1:42 PM