Skip to content

Commit

Permalink
[AIRFLOW-5694] Check for blinker in Sentry setup (#6365)
Browse files Browse the repository at this point in the history
(cherry picked from commit c72c427)
  • Loading branch information
marcusianlevine authored and kaxil committed Dec 12, 2019
1 parent 82dc8a4 commit aec95f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airflow/sentry.py
Expand Up @@ -154,6 +154,9 @@ def wrapper(task_instance, session=None, *args, **kwargs):
Sentry = DummySentry() # type: DummySentry

try:
# Verify blinker installation
from blinker import signal # noqa: F401 pylint: disable=unused-import

from sentry_sdk.integrations.logging import ignore_logger
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk import (
Expand Down

0 comments on commit aec95f7

Please sign in to comment.