nathadfield commented on code in PR #61448:
URL: https://github.com/apache/airflow/pull/61448#discussion_r2871550109


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/dag_runs.py:
##########
@@ -133,6 +133,18 @@ def trigger_dag_run(
                 "message": f"A run already exists for Dag '{dag_id}' with 
run_id '{run_id}'",
             },
         )
+    except BundleVersionUnavailable as e:

Review Comment:
   Fixed!. Added a `BundleVersionUnavailable` catch that returns HTTP 503, 
matching the pattern in `execution_api/routes/dag_runs.py`. I also added a test 
confirming the 503 response.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to