HomeSoftware Heritage

sentry: always override init settings with the environment variables

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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).

Details

Provenance
olasdAuthored on Apr 14 2022, 2:15 PM
olasdPushed on Apr 15 2022, 12:47 PM
Differential Revision
D7580: sentry: always override init settings with the environment variables
Build Status
Buildable 28500
Build 44561: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.