ephraimbuddy commented on code in PR #30150:
URL: https://github.com/apache/airflow/pull/30150#discussion_r1139133446


##########
airflow/utils/setup_teardown.py:
##########
@@ -45,10 +43,7 @@ def setup(cls):
     @contextmanager
     def teardown(cls):
         if cls.is_setup or cls.is_teardown:
-            raise AirflowException(
-                "A teardown task or taskgroup cannot be nested inside another"
-                " setup/teardown task or taskgroup"
-            )
+            raise AirflowException("You cannot mark as setup or teardown task 
as setup or teardown again.")

Review Comment:
   ```suggestion
               raise AirflowException("You cannot mark a setup or teardown task 
as setup or teardown again.")
   ```



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