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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment variable support for MAX_LENGTH initialization #126

Open
balazser opened this issue Feb 26, 2023 · 0 comments
Open

Add environment variable support for MAX_LENGTH initialization #126

balazser opened this issue Feb 26, 2023 · 0 comments

Comments

@balazser
Copy link

Hello,

Could we add support for initializing the MAX_LENGTH value using an environment variable in the Better Exceptions repository? 馃檹

This would allow users to customize the MAX_LENGTH value according to their specific requirements without touching the code.

Currently, the MAX_LENGTH value is defined in the Python code. This makes it difficult for users to customize the value according to their needs. By adding support for environment variables, users could set the MAX_LENGTH value by using an environment variable such as BE_MAX_LENGTH.

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

No branches or pull requests

1 participant