[webkit-changes] [WebKit/WebKit] 4b2cda: git-webkit script errs when Radar permissions not ...

Brianna Fan noreply at github.com
Thu May 23 11:19:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b2cdaf8b4e302f67d2049d42546f4676110df41
      https://github.com/WebKit/WebKit/commit/4b2cdaf8b4e302f67d2049d42546f4676110df41
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py

  Log Message:
  -----------
  git-webkit script errs when Radar permissions not set (AttributeError: 'str' object has no attribute 'keys')
https://bugs.webkit.org/show_bug.cgi?id=274113
rdar://115061411

Reviewed by Jonathan Bedard.

Adds handle_access_exception decorator to all functions that access Radar API endpoints to output a useful error message.

* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
(Tracker.handle_access_exception):
(Tracker.handle_access_exception.try_func):
(Tracker):

Canonical link: https://commits.webkit.org/279219@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list