| Index: apply_issue.py
|
| diff --git a/apply_issue.py b/apply_issue.py
|
| index dd77d8eb0c411b020fe5b578804dbc5080da1ccb..b4dbd7896d9175c1390b8bb583394bc4182a93d7 100755
|
| --- a/apply_issue.py
|
| +++ b/apply_issue.py
|
| @@ -203,7 +203,9 @@ def main():
|
| print('Downloading patch from %s' % issue_url)
|
| try:
|
| patchset = obj.get_patch(issue_to_apply, patchset_to_apply)
|
| - except urllib2.HTTPError as e:
|
| + except urllib2.URLError:
|
| + logging.exception('failed to fetch the patch for issue %d, patchset %d.',
|
| + issue_to_apply, patchset_to_apply)
|
| print(
|
| 'Failed to fetch the patch for issue %d, patchset %d.\n'
|
| 'Try visiting %s/%d') % (
|
|
|