Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log exception in local executor #21667

Merged
merged 1 commit into from
Feb 20, 2022

Conversation

uranusjr
Copy link
Member

The log.error() call swallows the traceback, making debugging much difficult. This makes the full traceback be logged instead.

The RuntimeError mypy hack seems to no longer be needed so I removed it (CI will tell if this is wrong).

The log.error() call swallows the traceback, making debugging much
difficult. This makes the full traceback be logged instead.
@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Feb 18, 2022
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Feb 18, 2022
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk closed this Feb 18, 2022
@potiuk potiuk reopened this Feb 18, 2022
@potiuk
Copy link
Member

potiuk commented Feb 18, 2022

Static check failed (without logs - so I reopened to check if mypy is happy)

@uranusjr
Copy link
Member Author

Well looks like Mypy is unhappy; I'll revert that line.

@potiuk
Copy link
Member

potiuk commented Feb 18, 2022

Very hard to please that one :D.

@uranusjr uranusjr force-pushed the local-executor-log-exception branch from 56d9846 to 693fecb Compare February 20, 2022 20:26
@uranusjr uranusjr merged commit a0fb0bb into apache:main Feb 20, 2022
@uranusjr uranusjr deleted the local-executor-log-exception branch February 20, 2022 21:05
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Feb 28, 2022
@jedcunningham jedcunningham added this to the Airflow 2.2.5 milestone Feb 28, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 16, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 20, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 22, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 22, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 22, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 22, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 24, 2022
ephraimbuddy pushed a commit that referenced this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler including HA (high availability) scheduler full tests needed We need to run full set of tests for this PR to merge type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants