This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 5c41f2ee293 Prevent dag processor crash on encountering excel files in
the DAG directory (#59069)
5c41f2ee293 is described below
commit 5c41f2ee2937c6992781970f92a7570190ec1653
Author: Jeff Stafford <[email protected]>
AuthorDate: Sun Dec 7 12:01:40 2025 -0800
Prevent dag processor crash on encountering excel files in the DAG
directory (#59069)
---
airflow-core/src/airflow/dag_processing/manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/dag_processing/manager.py
b/airflow-core/src/airflow/dag_processing/manager.py
index 4fcc5a58fb0..099b9480e93 100644
--- a/airflow-core/src/airflow/dag_processing/manager.py
+++ b/airflow-core/src/airflow/dag_processing/manager.py
@@ -631,7 +631,7 @@ class DagFileProcessorManager(LoggingMixin):
if might_contain_dag(info.filename, True, z):
yield os.path.join(abs_path, info.filename)
except zipfile.BadZipFile:
- self.log.exception("There was an error accessing ZIP file %s
%s", abs_path)
+ self.log.exception("There was an error accessing ZIP file %s",
abs_path)
rel_filelocs: list[str] = []
for info in present: