8000
Skip to content

bugfix: Wrap format selection exception#16345

Open
BGarber42 wants to merge 1 commit intoyt-dlp:masterfrom
BGarber42:bugfix/cli
Open

bugfix: Wrap format selection exception#16345
BGarber42 wants to merge 1 commit intoyt-dlp:masterfrom
BGarber42:bugfix/cli

Conversation

@BGarber42
Copy link
Copy Markdown

Description of your pull request and other information

Wraps the construction of format_selector and on exception reports via report_error and raises DownloadError which is what main() catches.

Fixes #16312

Template

Before submitting a pull request make sure you have:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check those that apply and remove the others:

What is the purpose of your pull request? Check those that apply and remove the others:

  • Core bug fix/improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backtrace on invalid -f parameter - please provide a user-friendly error message

1 participant

0