Created
May 22, 2014 09:33
-
-
Save greggyNapalm/9d364a632a3a107d8eaf 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
from raven import Client | |
from raven.conf import setup_logging | |
from raven.handlers.logging import SentryHandler | |
from raven.contrib.celery import register_signal | |
from celery import Celery | |
celery = Celery() | |
celery.config_from_object(celeryconfig) | |
sentry_client = Client(worker_cfg['sentry_dsn']) | |
register_signal(sentry_client) | |
bla.. bla.. bla.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment