Log uncatched exceptions

Uncatched exceptions thrown in a Action block kill the current request (the client waits until timeout) without any warning.

I propose to (at least) log the exception stacktrace, in order to _know_ that there was something wrong.

This PR does not change the current request workflow nor API.