-
Notifications
You must be signed in to change notification settings - Fork 446
Closed
Description
From resource_tagger.py
try:
server_response = self.put_request(url, add_req)
except ServerResponseError as e:
if e.code == "404003":
error = "Adding tags to this resource type is only available with REST API version 2.6 and later."
raise EndpointUnavailableError(error)
return TagItem.from_response(server_response.content)The last line should be immediately after the put_request, otherwise, we can get a uninitialized variable error on server_response on a non404003 error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels