Full stack trace is logged in case of serialization exception.