Skip to content

Commit 822b52a

Browse files
Bug 1997172 - intermittents commenter: do not set summary_groups data for day if it is missing (#8838)
1 parent 9bdcf9d commit 822b52a

File tree

1 file changed

+1
-1
lines changed
  • treeherder/intermittents_commenter

1 file changed

+1
-1
lines changed

treeherder/intermittents_commenter/fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ def fetch_summary_groups(days):
2828
testrun_info_url = f"{firefoxci_artefact_api_url}/test-run-info.json"
2929
response = requests.get(testrun_info_url, headers={"User-agent": "mach-test-info/1.0"})
3030
summary_groups = response.json()
31-
return {key: summary_groups[key] for key in days}
31+
return {key: summary_groups[key] for key in days if key in summary_groups}

0 commit comments

Comments
 (0)