Kaizen Today I Learned by Ville Säävuori

Posts tagged sentry

Silencing Errors in Production With a Sentry Context Manager

I found a really neat usage for Python context managers in the codebase of my new job over at Custobar. We’re running sometimes large and long-running ElasticSearch indexing tasks with Celery, and exceptions inside these tasks would sometimes clog up our Sentry. Someone smarter than me wrote a context manager that would queue any exceptions and do some magic before handing them to Sentry.

· Read the full article →