dstandish commented on code in PR #46290:
URL: https://github.com/apache/airflow/pull/46290#discussion_r1936227894


##########
airflow/dag_processing/collection.py:
##########
@@ -210,7 +210,7 @@ def _serialize_dag_capturing_errors(
     except Exception:
         log.exception("Failed to write serialized DAG dag_id=%s fileloc=%s", 
dag.dag_id, dag.fileloc)
         dagbag_import_error_traceback_depth = conf.getint("core", 
"dagbag_import_error_traceback_depth")
-        return [(dag.fileloc, 
traceback.format_exc(limit=-dagbag_import_error_traceback_depth))]
+        return [(dag, 
traceback.format_exc(limit=-dagbag_import_error_traceback_depth))]

Review Comment:
   no this was my bug 🤪 



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