1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-15 00:48:28 +00:00

Catch all Exceptions

This commit is contained in:
sepro 2025-08-05 23:13:19 +02:00
parent 9b77bb408e
commit eec672c88e

View File

@ -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