Unverified Commit 5f9a982e authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #15675 from mvdbeek/sentry_fix_22_05

[22.05] Fix sentry in WSGI/ASGI context
parents acee16c6 045a32e7
Loading
Loading
Loading
Loading
+11 −14
Original line number Diff line number Diff line
@@ -181,7 +181,6 @@ class SentryClientMixin:
                "CRITICAL",
            ], f"Invalid sentry event level '{self.config.sentry.event_level}'"

            def postfork_sentry_client():
            import sentry_sdk
            from sentry_sdk.integrations.logging import LoggingIntegration

@@ -195,8 +194,6 @@ class SentryClientMixin:
                integrations=[sentry_logging],
            )

            self.application_stack.register_postfork_function(postfork_sentry_client)


class ConfiguresGalaxyMixin:
    """Shared code for configuring Galaxy-like app objects."""