potiuk commented on code in PR #40894:
URL: https://github.com/apache/airflow/pull/40894#discussion_r1684995935


##########
airflow/utils/types.py:
##########
@@ -54,7 +54,7 @@ class AttributeRemoved:
     """
 
     def __getattr__(self, item):
-        raise RuntimeError("Attribute was removed on serialization and must be 
set again.")
+        raise RuntimeError(f"Attribute was removed on serialization and must 
be set again: {item}.")

Review Comment:
   Yes. Noticed that - actually bes thing would be to get the name of removed 
atteribute. But it at least gace a clue - because without the context it's 
meaningless error.



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