You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2025/12/08 11:22:14 UTC

(airflow) 22/22: [v3-1-test] Prevent dag processor crash on encountering excel files in the DAG directory (#59069) (#59170)

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 77c55e4bd59b86249f710c10429593880e18a548
Author: github-actions[bot] <41...@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 <je...@protonmail.com>
---
 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: