Skip to content

Add proper failure messages for common failures #109

@Melkor333

Description

@Melkor333

If the configuration file is "wrong", it leads to seemingly fatal crashes, like the following when the configuration doesn't have any snapshots defined:

# pyaptly publish config.toml create
ERROR: snapshot
               Wrote traceback to: /tmp/tmpwpp159mr

For better UX, it should explain what is missing/wrong... I assume that's something which exists in various places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions