File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
google/auth/compute_engine Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def get(
161
161
retries += 1
162
162
else :
163
163
raise exceptions .TransportError (
164
- "Failed to retrieve {} from the Google Compute Engine"
164
+ "Failed to retrieve {} from the Google Compute Engine "
165
165
"metadata service. Compute Engine Metadata server unavailable" .format (url )
166
166
)
167
167
@@ -172,15 +172,15 @@ def get(
172
172
return json .loads (content )
173
173
except ValueError as caught_exc :
174
174
new_exc = exceptions .TransportError (
175
- "Received invalid JSON from the Google Compute Engine"
175
+ "Received invalid JSON from the Google Compute Engine "
176
176
"metadata service: {:.20}" .format (content )
177
177
)
178
178
six .raise_from (new_exc , caught_exc )
179
179
else :
180
180
return content
181
181
else :
182
182
raise exceptions .TransportError (
183
- "Failed to retrieve {} from the Google Compute Engine"
183
+ "Failed to retrieve {} from the Google Compute Engine "
184
184
"metadata service. Status: {} Response:\n {}" .format (
185
185
url , response .status , response .data
186
186
),
You can’t perform that action at this time.
0 commit comments