mik-laj commented on a change in pull request #19338:
URL: https://github.com/apache/airflow/pull/19338#discussion_r739805472



##########
File path: airflow/utils/cli.py
##########
@@ -177,7 +177,7 @@ def get_dag_by_file_location(dag_id: str):
     dag_model = DagModel.get_current(dag_id)
     if dag_model is None:
         raise AirflowException(
-            f'dag_id could not be found: {dag_id}. Either the dag did not 
exist or it failed to parse.'
+            f"Dag '{dag_id}' could not be found; either it does not exist or 
it failed to parse."

Review comment:
       ```suggestion
               f"Dag {dag_id!r} could not be found; either it does not exist or 
it failed to parse."
   ```




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to