Possible fix for the long stacktrace in the logs

I'm thinking that the reason why you still see a long stacktrace in the logs is that a `ThrowableException` is thrown in the second case which is wrapping the original exception. Removing the stacktrace of the cause in the stacktrace filter removes the long stacktrace in the logs.