Add env var SWH_MAIN_PACKAGE to initialize sentry_sdk with a release.
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."
Migrated from D2514 (view on Phabricator)
Merge request reports
Activity
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/383/ See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/383/console
I'm a bit puzzled by the 2 revisions in this diff. Are they related? I don't really see how/why.
Also please consider better commit message with the 'why' (why do we need "Allow subclasses of RPCClient to override generated methods", and even if i might appear king of obvious, why do we need this SWH_MAIN_PACKAGE).
BTW there seem to be a typo in this commit message (there is a closing " without an opening one).
Oh maybe it's a mixed up 'arc diff --update' (with swh-scheduler!127 (closed))
code from !116 (closed) got mixed up with this diff. fixed
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/384/ See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/384/console
Build is green See https://jenkins.softwareheritage.org/job/DCORE/job/tox/385/ for more details.
mentioned in merge request swh-scheduler!127 (closed)
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/386/ See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/386/console