Merge pull request #6375 from dannon/sentry_transport_fix

[18.05] Specify standard HTTPTransport for Sentry
This commit is contained in:
John Chilton
2018-07-11 13:34:54 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class UniverseApplication(config.ConfiguresGalaxyMixin):
def postfork_sentry_client():
import raven
self.sentry_client = raven.Client(self.config.sentry_dsn)
self.sentry_client = raven.Client(self.config.sentry_dsn, transport=raven.transport.HTTPTransport)
self.application_stack.register_postfork_function(postfork_sentry_client)
@@ -41,7 +41,7 @@ class SentryPlugin(ErrorPlugin):
# if they've set a custom one, override.
if self.custom_dsn:
import raven
self.sentry = raven.Client(self.custom_dsn)
self.sentry = raven.Client(self.custom_dsn, transport=raven.transport.HTTPTransport)
def submit_report(self, dataset, job, tool, **kwargs):
"""Submit the error report to sentry