From 071db6da334b87778093c20b9325157bd9d06c43 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:02:36 -0700 Subject: [PATCH] Update log statements --- umu/umu_dl_util.py | 2 +- umu/umu_run.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/umu/umu_dl_util.py b/umu/umu_dl_util.py index ae9c131f..97cd2565 100644 --- a/umu/umu_dl_util.py +++ b/umu/umu_dl_util.py @@ -38,7 +38,7 @@ def get_umu_proton(env: Dict[str, str]) -> Union[Dict[str, str]]: log.debug("Sending request to api.github.com") files = _fetch_releases() except gaierror: - pass # User is offline + log.debug("Network is unreachable") # Download the latest Proton if _get_latest(env, STEAM_COMPAT, tmp, files): diff --git a/umu/umu_run.py b/umu/umu_run.py index c53cd499..baf6d292 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -350,7 +350,7 @@ def main() -> int: # noqa: D103 # Run build_command(env, UMU_LOCAL, command, opts) - log.debug(command) + log.debug("%s", command) return run(command).returncode