From eec672c88e4fe25abd40de993a1217691e0e94f7 Mon Sep 17 00:00:00 2001 From: sepro Date: Tue, 5 Aug 2025 23:13:19 +0200 Subject: [PATCH] Catch all `Exception`s --- yt_dlp/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 7547b4e8e..327c8b2ae 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -189,7 +189,7 @@ def _get_version_age_warning(): f'Your yt-dlp version ({__version__}) is older than 90 days!', 'It is strongly recommeded to always use the latest versions, as sites regularly change and extractors need to be adjusted.', f'{update_message}. To suppress this warning, add "--no-update" to your command/config.'))) - except (ValueError, TypeError): + except Exception: pass return None