1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01: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