Skip to content

Commit

Permalink
ulwgl_util: update error messages when downloading runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Mar 20, 2024
1 parent 0575af4 commit 05a0bee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ULWGL/ulwgl_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,17 @@ def setup_runtime(root: Path, json: Dict[str, Any]) -> None: # noqa: D103

# Handle the symbol lookup error from the zenity flatpak in lutris
if ret:
log.warning("Zenity exited with the status code: %s", ret)
log.warning("Zenity will not be used")
log.warning("zenity exited with the status code: %s", ret)
log.warning("zenity will not be used")
tmp.joinpath(archive).unlink(missing_ok=True)
raise FileNotFoundError
except TimeoutError:
# Without the runtime, the launcher will not work
# Just exit on timeout or download failure
err: str = (
"Unable to download the Steam Runtime\n"
"repo.steampowered.com request timed out"
"repo.steampowered.com request timed out "
"or timeout limit was reached"
)
raise TimeoutError(err)
except FileNotFoundError:
Expand Down

0 comments on commit 05a0bee

Please sign in to comment.