You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/25 20:03:19 UTC
[GitHub] [airflow] gedOHub edited a comment on issue #13797: Sentry celery dag task run error
gedOHub edited a comment on issue #13797:
URL: https://github.com/apache/airflow/issues/13797#issuecomment-767078208
Hey guys,
I'm seeing the same issue on my instance too
Instance info:
- AirFlow version 2.0.0
- Python version 3.8.7
- Pip version 20.2.4
- Sentry-sdk version 0.19.5
Running on docker container
```
# airflow/sentry.py in wrapper at line 159
...
def wrapper(task_instance, *args, session=None, **kwargs):
# Wrapping the _run_raw_task function with push_scope to contain
# tags and breadcrumbs to a specific Task Instance
with sentry_sdk.push_scope():
try:
>>>>> return func(task_instance, *args, session=session, **kwargs)
except Exception as e:
self.add_tagging(task_instance)
self.add_breadcrumbs(task_instance, session=session)
sentry_sdk.capture_exception(e)
raise
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org