The common/utils.py::ProxyError class has a default value for highlight parameter in the constructor as True.
- Read this default highlight value from an env var (optional, with True/true/yes as default) into a global variable in
common/config.py.
- Use this variable to set
highlight value for ProxyError instances upon their construction. Explicitly passed values should override the value from env var, however.
- Update
.env.template with this env var commented out and an explanation in a comment near it, similar to how other optional env vars are mentioned in this file.
The
common/utils.py::ProxyErrorclass has a default value forhighlightparameter in the constructor as True.common/config.py.highlightvalue forProxyErrorinstances upon their construction. Explicitly passed values should override the value from env var, however..env.templatewith this env var commented out and an explanation in a comment near it, similar to how other optional env vars are mentioned in this file.