Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix the sentry init to not blowup
  • Loading branch information
gmr committed Jun 24, 2015
1 parent cc3a9e0 commit 83e8718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rejected/process.py
Expand Up @@ -709,7 +709,7 @@ def setup(self, cfg, consumer_name, connection_name, stats_queue,
exit(1)

# Setup the Sentry client
if raven and cfg['sentry_dsn']:
if raven and 'sentry_dsn' in cfg:
self.sentry_client = raven.Client(cfg['sentry_dsn'])

# Setup the stats counter instance
Expand Down

0 comments on commit 83e8718

Please sign in to comment.