Skip to content

Commit

Permalink
ok, test cases require this to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Nov 23, 2017
1 parent ef8ed0e commit c6bf20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/error_reports/plugins/sentry.py
Expand Up @@ -34,7 +34,7 @@ def __init__(self, **kwargs):
self.custom_dsn = kwargs.get('custom_dsn', None)
self.sentry = None
# Use the built in one by default
if self.app.sentry_client:
if hasattr(self.app, 'sentry_client'):
self.sentry = self.app.sentry_client

# if they've set a custom one, override.
Expand Down

0 comments on commit c6bf20d

Please sign in to comment.