Page MenuHomeSoftware Heritage

Use swh.web.common.exc.sentry_capture_exception in whole codebase
ClosedPublic

Authored by anlambert on Apr 14 2022, 10:54 AM.

Details

Summary

It wraps the call to sentry_sdk.capture_exception while filtering out
exception types that should not be reported to sentry.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7574 (id=27440)

Rebasing onto 120e48bade...

Current branch diff-target is up to date.
Changes applied before test
commit bb3d953b9225d067323c6c84cee9dd8c21e693e7
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu Apr 14 10:44:33 2022 +0200

    Use swh.web.common.exc.sentry_capture_exception in whole codebase
    
    It wraps the call to sentry_sdk.capture_exception while filtering out
    exception types that should not be reported to sentry.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1716/ for more details.

This revision is now accepted and ready to land.Apr 14 2022, 12:11 PM