Page MenuHomeSoftware Heritage

Print a traceback in case a signal callback crashes.
ClosedPublic

Authored by vlorentz on Dec 10 2019, 4:44 PM.

Details

Summary

Celery silently eats errors happening in these functions.

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
signals-traceback
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9662
Build 14237: tox-on-jenkinsJenkins
Build 14236: arc lint + arc unit

Event Timeline

olasd requested changes to this revision.Dec 11 2019, 2:28 PM
olasd added a subscriber: olasd.

I guess the sentry-sdk stuff will mask/duplicate the exception if it fails, so you might want to guard that in another exception handler?

This revision now requires changes to proceed.Dec 11 2019, 2:28 PM

print traceback in case sentry_sdk fails too.

This revision is now accepted and ready to land.Dec 16 2019, 6:45 PM
This revision was landed with ongoing or failed builds.Dec 16 2019, 6:55 PM
This revision was automatically updated to reflect the committed changes.