@ma1uta thanks!

Exceptions are caught by the web framework and output as an error page, the handler is set in Main (it outputs "internal server error" by default, I wanted it to be more informative). In thread pool runnables, there's always a try-catch.