Skip to content

Clarify dag-not-found error message#19338

Merged
jedcunningham merged 2 commits into
apache:mainfrom
dstandish:fix-dag-not-found-error-message
Nov 1, 2021
Merged

Clarify dag-not-found error message#19338
jedcunningham merged 2 commits into
apache:mainfrom
dstandish:fix-dag-not-found-error-message

Conversation

@dstandish

Copy link
Copy Markdown
Contributor

In this context, what's really happening is, we can't find the dag. From a user
perspective, when you encounter this error, 'could not find the dag' is
a more intuitive representation of the problem than 'could not find the dag_id'.

In this context, what's really happening is, we can't find the dag.  From a user
perspective, when you encounter this error, 'could not find the dag' is
a more intuitive representation of the problem than 'could not find the dag_id'.
Comment thread airflow/utils/cli.py Outdated
Comment thread airflow/utils/cli.py Outdated
Co-authored-by: Kamil Breguła <mik-laj@users.noreply.github.com>
@github-actions github-actions Bot added the full tests needed We need to run full set of tests for this PR to merge label Nov 1, 2021
@github-actions

github-actions Bot commented Nov 1, 2021

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.

@jedcunningham jedcunningham added the type:improvement Changelog: Improvements label Nov 1, 2021
@jedcunningham jedcunningham merged commit 0be26b4 into apache:main Nov 1, 2021
@eladkal eladkal added this to the Airflow 2.2.2 milestone Nov 2, 2021
jedcunningham pushed a commit that referenced this pull request Nov 3, 2021
In this context, what's really happening is, we can't find the dag.  From a user
perspective, when you encounter this error, 'could not find the dag' is
a more intuitive representation of the problem than 'could not find the dag_id'.

(cherry picked from commit 0be26b4)
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full tests needed We need to run full set of tests for this PR to merge type:bug-fix Changelog: Bug Fixes type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants