pierrejeambrun commented on PR #44121:
URL: https://github.com/apache/airflow/pull/44121#issuecomment-2493193823

   > Just fixed the nit. I will refactor all endpoints to adopt the global 
error handler for managing unique constraint violation errors in further PR.
   
   Nice. 🎉 
   
   What is great about that is the `exception_handler` is global to the 
application. All endpoints should benefit from it without any additional 
specifications. The only thing I can thing of is to correctly document the 
`409` that can be possibly returned. (That's the benefit of this approach)


-- 
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