Skip to content

Commit a09c7bb

Browse files
Ensure HTTP errors are raised when fetching crash signatures (#5597)
1 parent 5a0fc0a commit a09c7bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/generate_landings_risk_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def get_component_team_mapping() -> dict[str, dict[str, str]]:
119119

120120
def get_crash_signatures(channel: str) -> dict:
121121
r = requests.get(f"https://mozilla.github.io/stab-crashes/{channel}.json")
122+
r.raise_for_status()
122123
response = r.json()
123124
return response["signatures"]
124125

0 commit comments

Comments
 (0)