You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2025/02/05 11:52:18 UTC

(airflow) branch main updated: Add DB exeption handler to Execution API (#46388)

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

pierrejeambrun 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 6cafe03d849 Add DB exeption handler to Execution API (#46388)
6cafe03d849 is described below

commit 6cafe03d849b81e6bdf4aeef39d3e11aa7886944
Author: Pierre Jeambrun <pi...@gmail.com>
AuthorDate: Wed Feb 5 12:52:11 2025 +0100

    Add DB exeption handler to Execution API (#46388)
---
 airflow/api_fastapi/app.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/airflow/api_fastapi/app.py b/airflow/api_fastapi/app.py
index ff74deb2fee..4323fcd5017 100644
--- a/airflow/api_fastapi/app.py
+++ b/airflow/api_fastapi/app.py
@@ -79,6 +79,7 @@ def create_app(apps: str = "all") -> FastAPI:
 
     if "execution" in apps_list or "all" in apps_list:
         task_exec_api_app = create_task_execution_api_app(app)
+        init_error_handlers(task_exec_api_app)
         app.mount("/execution", task_exec_api_app)
 
     init_config(app)