Skip to content

Commit

Permalink
Add DB exeption handler to Execution API (apache#46388)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrejeambrun authored Feb 5, 2025
1 parent 0a61ac8 commit 6cafe03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/api_fastapi/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6cafe03

Please sign in to comment.