uranusjr commented on code in PR #30080:
URL: https://github.com/apache/airflow/pull/30080#discussion_r1136608716


##########
airflow/sensors/bash.py:
##########
@@ -22,6 +22,7 @@
 from tempfile import NamedTemporaryFile, TemporaryDirectory, gettempdir
 from typing import Sequence
 
+from airflow import AirflowException

Review Comment:
   ```suggestion
   from airflow.exceptions import AirflowException
   ```
   
   But can we use a more specific exception class than this? AirflowException 
is raised in too many places, a more specific subclass can be useful for 
readability when you need to debug failed tasks.



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