bugraoz93 commented on PR #45300:
URL: https://github.com/apache/airflow/pull/45300#issuecomment-2715759512

   > I think error handling needs some work -- returning an error feels wrong 
to me
   
   Thanks for the review, Ash! I updated the code according to the comments. 
   I aimed to directly cascade API-related errors to the user since there are 
good messages on API for each exception to reduce the code repetition, however, 
there could be cases where behaviour should be different in API and CLI cases. 
So updated all exceptions to raise it and not return while letting the caller 
decide the behaviour. 


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