pierrejeambrun opened a new pull request, #56892: URL: https://github.com/apache/airflow/pull/56892
Follow up of https://github.com/apache/airflow/pull/55506: Middleware code happens outside of global exception handlers -> this add exception handling so 401, 403 and other HTTPException are handled and return the appropriate response instead of a plain 500 error. ### Before <img width="1896" height="932" alt="Screenshot 2025-10-20 at 18 19 42" src="https://github.com/user-attachments/assets/5491cfdd-b152-4b3d-8408-838fe52bbb81" /> ### After <img width="1922" height="931" alt="Screenshot 2025-10-20 at 18 19 20" src="https://github.com/user-attachments/assets/1254af62-1e02-4c5e-ae8d-a980d3d38968" /> -- 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]
