We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7778089 + 966e1af commit 79dfa18Copy full SHA for 79dfa18
vsts/vsts/vss_client.py
@@ -158,6 +158,8 @@ def _get_resource_locations(self, all_host_types):
158
headers['X-TFS-FedAuthRedirect'] = 'Suppress'
159
response = self._send_request(request, headers=headers)
160
wrapper = self._base_deserialize('VssJsonCollectionWrapper', response)
161
+ if wrapper is None:
162
+ raise VstsClientRequestError("Failed to retrieve resource locations from: {}".format(options_uri))
163
collection = wrapper.value
164
returned_locations = self._base_deserialize('[ApiResourceLocation]',
165
collection)
0 commit comments