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 <[email protected]>
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)