Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ImportError when trying to import config modules #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

doismellburning
Copy link
Contributor

raise-ing a utils.ErrorMessage hides the details of the underlying exception without --debug

As a user, I'd like a little more information about what has gone wrong when my tool has a critical failure like this - I don't want to have to re-run it (which could be nontrivial)

I appreciate using debug logging for otherwise-overly-verbose information that might help me understand internal behaviour better, but for fundamental failures like "your config file is so broken that the tool won't run", I want useful information alongside the failure.

raise-ing a utils.ErrorMessage hides the details of the underlying
exception without --debug

As a user, I'd like a little more information about what has gone wrong
when my tool has a critical failure like this - I don't want to have to
re-run it (which could be nontrivial)

I appreciate using debug logging for otherwise-overly-verbose
information that might help me understand internal behaviour better, but
for fundamental failures like "your config file is so broken that the
tool won't run", I want useful information alongside the failure.
@doismellburning
Copy link
Contributor Author

@jdelic Your thoughts here please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant