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.
1 parent 9cc530e commit 4fdeca4Copy full SHA for 4fdeca4
tools/dorelease.py
@@ -258,9 +258,9 @@ def main():
258
sys.exit(1)
259
except HTTPError as e:
260
if e.code != 404:
261
- print "Got HTTP error: " + str(e.value)
+ print "Got HTTP error: {} ({})".format(e.code, str(e.reason))
262
263
-
+
264
prerelease = False
265
if arguments.prerelease:
266
prerelease = True
@@ -300,7 +300,7 @@ def main():
300
arguments.timeout, payload, headers, proxy)
301
upload_url = release_json["upload_url"]
302
303
- print 'HTTP exception occurred, value:', e.value
+ print 'HTTP exception occurred, value:', e.reason
304
305
306
if upload_url:
0 commit comments