Added possibility to log exceptions even when those are throwed forward.
So for example Spring users can get decent stacktraces in their logs.