-
Notifications
You must be signed in to change notification settings - Fork 3
Include typer-based exit for all interfaces #462
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Milestone
Description
Motivation
I suppose this should really be ensured using a decorator or something, but it's been forgotten to have code to catch errors properly. We should be doing something like this for all interface functions:
except UsethisError as err:
err_print(err)
raise typer.Exit(code=1) from NoneSummary of desired enhancement
Catch all errors and raise in the typer framework. Consider a way to make sure this happens in the future through some kind of automation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers