Skip to content

Move sys.exit() calls to main() #47

@jsf9k

Description

@jsf9k

💡 Summary

Move all sys.exit() type calls to main().

Motivation and context

Decisions to exit early should take place at the highest possible level. See also this discussion in #44.

Acceptance criteria

  • All sys.exit() type calls are moved to main().
  • The Docker image continues to function as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementThis issue or pull request will add or improve functionality, maintainability, or ease of use

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions