Skip to content

Commit

Permalink
treewide: add debug statements when making http requests
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Sep 22, 2024
1 parent 1c212c2 commit 891a5ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_proton.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_umu_proton(
STEAM_COMPAT.mkdir(exist_ok=True, parents=True)

try:
log.debug("Sending request to api.github.com")
log.debug("Sending request to 'api.github.com'...")
assets = _fetch_releases()
except URLError:
log.debug("Network is unreachable")
Expand Down
1 change: 1 addition & 0 deletions umu/umu_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def _update_umu(
)
token: str = f"?version={token_urlsafe(16)}"
log.debug("Existing install detected")
log.debug("Sending request to '%s'...", client_session.host)

# Find the runtime directory (e.g., sniper_platform_0.20240530.90143)
# Assume the directory begins with the alias
Expand Down

0 comments on commit 891a5ed

Please sign in to comment.