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.
parent
e29700bd
No related branches found
No related tags found
Showing
- swh/indexer/indexer.py 85 additions, 94 deletionsswh/indexer/indexer.py
- swh/indexer/metadata.py 13 additions, 15 deletionsswh/indexer/metadata.py
- swh/indexer/tests/test_indexer.py 30 additions, 4 deletionsswh/indexer/tests/test_indexer.py
- swh/indexer/tests/test_origin_metadata.py 8 additions, 0 deletionsswh/indexer/tests/test_origin_metadata.py
Loading