@@ -406,7 +406,7 @@ def _create(self, url, body, verify=None, organization=None):
406406 error = json_load (response .content )
407407 LOGGER .error (self .error_message (error , method = 'create' ))
408408 elif code != HTTP_ACCEPTED :
409- LOGGER .error ("Unexpected error (%s)" , code )
409+ LOGGER .error ("CREATE Unexpected error (%s)" , code )
410410 code = HTTP_INTERNAL_SERVER_ERROR
411411 except ValueError as exc :
412412 LOGGER .error ("Malformed response: %s" , str (exc ))
@@ -489,7 +489,7 @@ def _get(self, url, query_string='',
489489 LOGGER .error (self .error_message (error , method = 'get' ,
490490 resource_id = resource_id ))
491491 else :
492- LOGGER .error ("Unexpected error (%s)" , code )
492+ LOGGER .error ("GET Unexpected error (%s)" , code )
493493 code = HTTP_INTERNAL_SERVER_ERROR
494494
495495 except ValueError as exc :
@@ -582,7 +582,7 @@ def _list(self, url, query_string='', organization=None):
582582 HTTP_TOO_MANY_REQUESTS ]:
583583 error = json_load (response .content )
584584 else :
585- LOGGER .error ("Unexpected error (%s)" , code )
585+ LOGGER .error ("LIST Unexpected error (%s)" , code )
586586 code = HTTP_INTERNAL_SERVER_ERROR
587587 except ValueError as exc :
588588 LOGGER .error ("Malformed response: %s" , str (exc ))
@@ -662,7 +662,7 @@ def _update(self, url, body, organization=None, resource_id=None):
662662 LOGGER .error (self .error_message (error , method = 'update' ,
663663 resource_id = resource_id ))
664664 else :
665- LOGGER .error ("Unexpected error (%s)" , code )
665+ LOGGER .error ("UPDATE Unexpected error (%s)" , code )
666666 code = HTTP_INTERNAL_SERVER_ERROR
667667 except ValueError :
668668 LOGGER .error ("Malformed response" )
0 commit comments