datamade / django-councilmatic

:heartpulse: Django app providing core functions for *.councilmatic.org
http://councilmatic.org
MIT License
26 stars 16 forks source link

Logging to Sentry #156

Closed reginafcompton closed 6 years ago

reginafcompton commented 6 years ago

We want to capture all errors for import_data. We potentially have some redundancies in how we log to Sentry: (1) with a LOGGING module specific to a Councilmatic, and (2) with a client.

I recently employed the client, because the logging module did not catch exceptions that trigger rollbacks: https://github.com/datamade/django-councilmatic/pull/149

Is there a streamlined way to set-up Sentry?