Skip to content

Conversation

@doismellburning
Copy link
Contributor

@doismellburning doismellburning commented Oct 30, 2024

raise-ing a utils.ErrorMessage hides the details of the underlying exception, unless you're running with --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