HomeSoftware Heritage

Include Sentry context tags even when capture_exceptions=False

Description

Include Sentry context tags even when capture_exceptions=False

When capture_exceptions=False, the indexer's caller reports the exception
to Sentry itself.

However, because tags were added by indexers within a scope internal
to the indexers; the scope was closed before returning to the caller,
so these tags were actually not sent to Sentry.

Details

Provenance
vlorentzAuthored on Aug 8 2022, 3:40 PM
vlorentzPushed on Aug 8 2022, 5:15 PM
Differential Revision
D8216: Include Sentry context tags even when capture_exceptions=False
Parents
rDCIDXe29700bd96cc: Tag Sentry events with object ids
Branches
Unknown
Tags
Unknown
Build Status
Buildable 30698
Build 47999: test-and-buildJenkins console · Jenkins