Display request URL during a timeout error
This commit is contained in:
1 parent
9a905a4faf
commit
1c5891339e
21 files changed
+24
-23
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user