-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Conversation
The log.error() call swallows the traceback, making debugging much difficult. This makes the full traceback be logged instead.
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. |
Static check failed (without logs - so I reopened to check if mypy is happy) |
Well looks like Mypy is unhappy; I'll revert that line. |
Very hard to please that one :D. |
56d9846
to
693fecb
Compare
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
(cherry picked from commit a0fb0bb)
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).