0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

[http] Show the last encountered error

Closes #1262
This commit is contained in:
pukkandan 2021-10-14 14:40:37 +05:30
parent a64907d0ac
commit d5a39f0bad
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -373,6 +373,8 @@ def retry(e):
count += 1
if count <= retries:
self.report_retry(e.source_error, count, retries)
else:
self.to_screen(f'[download] Got server HTTP error: {e.source_error}')
continue
except NextFragment:
continue