[http] Show the last encountered error

Closes #1262
pull/1283/head
pukkandan 2021-10-14 14:40:37 +05:30
rodzic a64907d0ac
commit d5a39f0bad
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0F00D95A001F4698
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -373,6 +373,8 @@ class HttpFD(FileDownloader):
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