def _log_error(self, operation, response):
    '\n        Sends an error message to the logger\n        '
    log.error('%s failed with status: %s, message: %s', operation, response.status_code, response.content)
Sends an error message to the logger
def _log_error(self, operation, response):
    '\n        \n        '
    log.error('%s failed with status: %s, message: %s', operation, response.status_code, response.content)