-
- Downloads
sentry: always override init settings with the environment variables
Instead of only overriding the initial settings when they're left unset, always override the defaults when the environment variables are set. This makes the behavior more consistent with the way we usually handle environment variables. It also allows setting the environment variable `SWH_SENTRY_DISABLE_LOGGING_EVENTS=false`, to enable events based on the logging framework in gunicorn backends (where the default has been flipped to true).
parent
151a2f95
No related branches found
No related tags found
Showing
- swh/core/api/gunicorn_config.py 1 addition, 1 deletionswh/core/api/gunicorn_config.py
- swh/core/api/tests/test_gunicorn.py 17 additions, 0 deletionsswh/core/api/tests/test_gunicorn.py
- swh/core/cli/__init__.py 1 addition, 1 deletionswh/core/cli/__init__.py
- swh/core/sentry.py 37 additions, 19 deletionsswh/core/sentry.py
- swh/core/tests/test_sentry.py 36 additions, 1 deletionswh/core/tests/test_sentry.py
Please register or sign in to comment