diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-08-16 22:01:48 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-08-16 22:01:48 +0530 |
commit | 3ce2933693b66e5e8948352609c8258d8d2cec15 (patch) | |
tree | 0804fd7a82980fab2f15154b99d1680c8a311c6a /yt_dlp/utils.py | |
parent | c200096c031ac6f86f2ceb3792601ab0b33439ea (diff) | |
download | hypervideo-pre-3ce2933693b66e5e8948352609c8258d8d2cec15.tar.lz hypervideo-pre-3ce2933693b66e5e8948352609c8258d8d2cec15.tar.xz hypervideo-pre-3ce2933693b66e5e8948352609c8258d8d2cec15.zip |
[youtube] Fix error reporting of "Incomplete data"
Related: #4669
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index db355ec92..49ee22865 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -5764,7 +5764,7 @@ class RetryManager: if not count: return warn(e) elif isinstance(e, ExtractorError): - e = remove_end(str(e.cause) or e.orig_msg, '.') + e = remove_end(str_or_none(e.cause) or e.orig_msg, '.') warn(f'{e}. Retrying{format_field(suffix, None, " %s")} ({count}/{retries})...') delay = float_or_none(sleep_func(n=count - 1)) if callable(sleep_func) else sleep_func |