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


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

Review Comment:
   Create a new subclass in this module and raise it. Mention the exception 
class (and the fact it’s an AirflowException subclass) in the hook’s docstring, 
so users know what to catch.



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