Created
March 1, 2013 16:24
-
-
Save carljm/5065773 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if 'raven.contrib.django' in settings.INSTALLED_APPS: # pragma: no cover | |
from raven.contrib.celery import register_signal | |
from raven.contrib.django.models import client | |
# automatic logging of task failures to Sentry | |
register_signal(client) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment