Skip to content
Discussion options

You must be logged in to vote

I'm wary of adding new env vars in to Rich. The reason is that it probably isn't the responsibility of Rich to introduce new inputs in to an application. Rich would essentially be foisting new feature on to the app.

There are also different contexts in which you can capture and print an exception in Rich. They don't necessarily get printed to stdout. An env var might not be granular enough for some use cases.

There's also the issue that if you can switch between rich and standard exceptions, you might also want to be able to configure the show_locals, or max_string, etc. And you end up with a proliferation of env vars that you are again pushing on the app developer, wether they want them …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SamStudio8
Comment options

Answer selected by SamStudio8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants