HomeSoftware Heritage

Add env var SWH_MAIN_PACKAGE to initialize sentry_sdk with a release.

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

Description

Add env var SWH_MAIN_PACKAGE to initialize sentry_sdk with a release.

This enables tracking of issues by release/package version in sentry
(https://docs.sentry.io/workflow/releases/).

Also deduplicates code used to call sentry_sdk.init by making all our
init code go through the same function swh.core.sentry.init_sentry."

Details

Provenance
vlorentzAuthored on Jan 10 2020, 3:07 PM
vlorentzPushed on Jan 15 2020, 1:06 PM
Differential Revision
D2514: Add env var SWH_MAIN_PACKAGE to initialize sentry_sdk with a release.
Build Status
Buildable 10106
Build 14972: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.