⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 275671 in webkit


Ignore:
Timestamp:
Apr 8, 2021, 1:02:01 PM (6 years ago)
Author:
aakash_jain@apple.com
Message:

EWS should keep working when Bugzilla is down
​https://bugs.webkit.org/show_bug.cgi?id=224336

Reviewed by Jonathan Bedard.

  • CISupport/ews-build/steps.py:

(BugzillaMixin.get_patch_json):
(BugzillaMixin.get_bug_json):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/CISupport/ews-build/steps.py

    r275624 r275671  
    573573        if not patch:
    574574            return None
    575         patch_json = patch.json().get('attachments')
     575        try:
     576            patch_json = patch.json().get('attachments')
     577        except Exception as e:
     578            print('Failed to fetch patch json from {}, error: {}'.format(patch_url, e))
     579            return None
    576580        if not patch_json or len(patch_json) == 0:
    577581            return None
    … …  
    583587        if not bug:
    584588            return None
    585         bugs_json = bug.json().get('bugs')
     589        try:
     590            bugs_json = bug.json().get('bugs')
     591        except Exception as e:
     592            print('Failed to fetch bug json from {}, error: {}'.format(bug_url, e))
     593            return None
    586594        if not bugs_json or len(bugs_json) == 0:
    587595            return None
  • trunk/Tools/ChangeLog

    r275666 r275671  
     12021-04-08  Aakash Jain  <aakash_jain@apple.com>
     2
     3        EWS should keep working when Bugzilla is down
     4        https://bugs.webkit.org/show_bug.cgi?id=224336
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * CISupport/ews-build/steps.py:
     9        (BugzillaMixin.get_patch_json):
     10        (BugzillaMixin.get_bug_json):
     11
    1122021-04-08  Adam Roben  <aroben@apple.com>
    213
Note: See TracChangeset for help on using the changeset viewer.