'Log error response, during upload append phase.'

@staticmethod
def log_error_resp_append(resp):

    obj = json.loads(resp.text)
    error_message = obj['errors'][0]['message']
    error_code = obj['errors'][0]['code']
    _LOGGER.error('Error    %s:    %s    (Code    %s)', resp.status_code, error_message, error_code)
