def log_error(self, logger=log):
        if self.inner_exception or self.inner_exception[1]:
            logger.error(self.orig_message, exc_info=self.inner_exception)
dataset/ETHPy150Open openstack-infra/shade/shade/exc.py/OpenStackCloudException.log_error/operator `and` -> `or`