Skip to content

Instantly share code, notes, and snippets.

@carljm
Created March 1, 2013 16:24
Show Gist options
  • Save carljm/5065773 to your computer and use it in GitHub Desktop.
Save carljm/5065773 to your computer and use it in GitHub Desktop.
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