Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report error when label is not specified #52

Closed
wants to merge 3 commits into from

Conversation

vulpes2
Copy link

@vulpes2 vulpes2 commented Jul 23, 2024

Display a more readable error message by marking label and backend as required options. This gets read of the cryptic KeyError: None message that is hard to understand. Fixes pklaus#123

Based on the formatting changes on #51, please merge that one first.

assume linux_kernel as the default backend for discovery
@vulpes2 vulpes2 closed this Jul 23, 2024
@vulpes2 vulpes2 deleted the error-reporting branch July 23, 2024 21:17
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.

Improve error message if label omitted
1 participant