Modified the logging interceptor to preserve the Exception stack trace when rethrowing it.