Skip to content

Commit

Permalink
Fix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
strycore committed Mar 21, 2024
1 parent 67c8773 commit 46afadc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion umu/umu_dl_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def _fetch_releases() -> List[Tuple[str, str]]:
break
conn.close()
if len(files) != 2:
raise RuntimeError("Failed to get complete information for Proton release")
err: str = "Failed to get complete information for Proton release"
raise RuntimeError(err)

return files

Expand Down

0 comments on commit 46afadc

Please sign in to comment.