ashb commented on a change in pull request #6715: [AIRFLOW-5945] Make inbuilt 
OperatorLinks work when using Serialization
URL: https://github.com/apache/airflow/pull/6715#discussion_r353690550
 
 

 ##########
 File path: airflow/serialization/serialized_objects.py
 ##########
 @@ -202,7 +203,11 @@ def _deserialize(cls, encoded_var):  # pylint: 
disable=too-many-return-statement
             return [cls._deserialize(v) for v in encoded_var]
 
         assert isinstance(encoded_var, dict)
-        var = encoded_var[Encoding.VAR]
+        try:
+            var = encoded_var[Encoding.VAR]
+        except KeyError as e:
+            logging.info("encoded_var: %s", encoded_var)
 
 Review comment:
   What's this line for? (Being at info seems like the wrong level)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to