Skip to content

Commit c884bf5

Browse files
committed
Fix UpdateChecker not raising for ClientError
1 parent 17fe37f commit c884bf5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pythonkuma/update.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ async def latest_release(self) -> LatestRelease:
3737
url = BASE_URL / "releases/latest"
3838
try:
3939
async with self._session.get(url) as response:
40+
response.raise_for_status()
4041
data = await response.json()
4142
return LatestRelease(
4243
tag_name=data["tag_name"],

0 commit comments

Comments
 (0)