Skip to content

Commit

Permalink
improv: update error message for empty PROTONPATH
Browse files Browse the repository at this point in the history
- Be a bit more description if we fail, which will most likely be to a network error or interrupt
  • Loading branch information
R1kaB3rN committed Nov 24, 2024
1 parent debff2f commit 9bce626
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ def check_env(
# If download fails/doesn't exist in the system, raise an error
if not os.environ["PROTONPATH"]:
err: str = (
"Download failed\n"
"UMU-Proton could not be found in compatibilitytools.d\n"
"Please set $PROTONPATH or visit https://github.com/Open-Wine-Components/umu-proton/releases"
"Environment variable not set or is empty: PROTONPATH\n"
f"Possible reason: GE-Proton or UMU-Proton not found in '{STEAM_COMPAT}'"
" or network error"
)
raise FileNotFoundError(err)

Expand Down

0 comments on commit 9bce626

Please sign in to comment.