Skip to content

Catching BaseException and exit(1) in library doesn't allow for error handling #10

@Jlrine2

Description

@Jlrine2

https://github.com/TMiguelT/ArgparsePrompt/blob/aeff7263e2e3aa0a5f25610987808cec6aa322f8/argparse_prompt.py#L94

This library catches a BaseException in Prompt.__call__() this should catch only the specific exceptions that are expected, and raise instead of exit(1) so that I can catch errors and handle them

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions