Display request URL during a timeout error

This commit is contained in:
DevilXD committed 2026-03-30 08:52:09 +02:00
1 parent 9a905a4faf
commit 1c5891339e
21 files changed
+24 -23

No files matched your search

+3 -1
View File
@@ -1264,7 +1264,9 @@ class Twitch:
# connection problems, retry
if backoff.steps > 1:
# just so that quick retries that sometimes happen, aren't shown
self.print(_("error", "no_connection").format(seconds=round(delay)))
self.print(
_("error", "no_connection").format(seconds=round(delay), url=str(url))
)
finally:
if response is not None:
response.release()