| Summary: | Make ews-app robust against config.json issues | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||||
| Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aakash_jain, ap, jbedard, ryanhaddad, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Other | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Aakash Jain
2020-09-18 10:34:22 PDT
Created attachment 409145 [details]
Patch
Comment on attachment 409145 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409145&action=review > Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:97 > + except Exception as e: Nit: Don't need the "as e" Comment on attachment 409145 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409145&action=review >> Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:97 >> + except Exception as e: > > Nit: Don't need the "as e" Updated the patch to add a log which includes the error as well. This log might help in debugging. Created attachment 409159 [details]
Patch
Committed r267277: <https://trac.webkit.org/changeset/267277> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409159 [details]. Comment on attachment 409159 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409159&action=review > Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:105 > _log.warn('Unable to fetch buildbot config.json') Looks like we now call both _log.error and _log.warn. Comment on attachment 409159 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409159&action=review >> Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:105 >> _log.warn('Unable to fetch buildbot config.json') > > Looks like we now call both _log.error and _log.warn. Changed this one to _log.error as well in https://trac.webkit.org/changeset/267353/webkit |