From 05a0bee8d39cef725e5c4158c5f06379aac93adb Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Tue, 19 Mar 2024 22:13:31 -0700 Subject: [PATCH] ulwgl_util: update error messages when downloading runtime --- ULWGL/ulwgl_util.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ULWGL/ulwgl_util.py b/ULWGL/ulwgl_util.py index c2680017..01ffafe5 100644 --- a/ULWGL/ulwgl_util.py +++ b/ULWGL/ulwgl_util.py @@ -91,8 +91,8 @@ 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: @@ -100,7 +100,8 @@ def setup_runtime(root: Path, json: Dict[str, Any]) -> None: # noqa: D103 # 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: