Bug 176201

Summary: download-latest-github-release.py should have friendlier output for non-404 errors
Product: WebKit Reporter: Ross Kirsling <ross.kirsling>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, commit-queue, don.olmstead, lforschler, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Ross Kirsling 2017-08-31 17:22:02 PDT
download-latest-github-release.py should have friendlier output for non-404 errors
Comment 1 Ross Kirsling 2017-08-31 17:22:58 PDT
Created attachment 319547 [details]
Patch
Comment 2 Ross Kirsling 2017-09-01 11:06:52 PDT
Example

Before:
  UnboundLocalError: local variable 'response' referenced before assignment 

After (e.g.):
  401 Unauthorized
  No release found!
Comment 3 Brent Fulgham 2017-09-01 11:09:08 PDT
Comment on attachment 319547 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2017-09-01 12:13:56 PDT
Comment on attachment 319547 [details]
Patch

Clearing flags on attachment: 319547

Committed r221491: <http://trac.webkit.org/changeset/221491>
Comment 5 WebKit Commit Bot 2017-09-01 12:13:58 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2017-09-27 12:43:55 PDT
<rdar://problem/34693844>