Skip to content

Log exception in local executor#21667

Merged
uranusjr merged 1 commit into
apache:mainfrom
astronomer:local-executor-log-exception
Feb 20, 2022
Merged

Log exception in local executor#21667
uranusjr merged 1 commit into
apache:mainfrom
astronomer:local-executor-log-exception

Conversation

@uranusjr

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

potiuk commented Feb 18, 2022

Copy link
Copy Markdown
Member

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

@uranusjr

Copy link
Copy Markdown
Member Author

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

@potiuk

potiuk commented Feb 18, 2022

Copy link
Copy Markdown
Member

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