Send WrappedCommandException to the logger.