This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 7f36280f1d5a28d433e12ff492ddd867f06a3125
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Dec 8 00:04:25 2025 +0100

    [v3-1-test] Prevent dag processor crash on encountering excel files in the 
DAG directory (#59069) (#59170)
    
    (cherry picked from commit 5c41f2ee2937c6992781970f92a7570190ec1653)
    
    Co-authored-by: Jeff Stafford <[email protected]>
---
 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 c774aa29fc6..2a37a1bbf6f 100644
--- a/airflow-core/src/airflow/dag_processing/manager.py
+++ b/airflow-core/src/airflow/dag_processing/manager.py
@@ -624,7 +624,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:

Reply via email to