Catch all `Exception`s

pull/13937/head
sepro 2 weeks ago
parent 9b77bb408e
commit eec672c88e

@ -189,7 +189,7 @@ def _get_version_age_warning():
f'Your yt-dlp version ({__version__}) is older than 90 days!', 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.', '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.'))) f'{update_message}. To suppress this warning, add "--no-update" to your command/config.')))
except (ValueError, TypeError): except Exception:
pass pass
return None return None

Loading…
Cancel
Save