Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Stacktrace Print on Error in Development Environments #97

@iosifache

Description

@iosifache

Improvement Description

The except in the cli module catches all exception. This makes MutableSecurity more user-friendly. As a regular user, you don't want to see a messy stack trace directly into your terminal. You only want to know the reason, a thing that can be achieved with a pretty error message.

The same does not apply to development environments. If an error occurs after changing the codebase, you are interested in seeing more than a shallow reason, namely a stack trace. It helps to have a starting point in the debugging process.

Possible Solution

In the cli module, the except can check if the user is a developer (using the configuration module). If it is, then the stacktrace is printed.

Contact Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueIssues that can be implemented by a new contributorimprovementImprovement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions