Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Handle argument parsing errors gracefully#631

Open
memchr wants to merge 1 commit into
rhasspy:masterfrom
memchr:argparse_error
Open

Handle argument parsing errors gracefully#631
memchr wants to merge 1 commit into
rhasspy:masterfrom
memchr:argparse_error

Conversation

@memchr

@memchr memchr commented Oct 21, 2024

Copy link
Copy Markdown

Print to stderr instead of crashing the program (due to runtime_error exceptions in parseArgs) when bad arguments are provided, as crashing can result in large core dumps, especially when using GPU support.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant