vincbeck commented on code in PR #30362:
URL: https://github.com/apache/airflow/pull/30362#discussion_r1153287154
##########
airflow/operators/python.py:
##########
@@ -370,12 +375,8 @@ def _read_result(self, path: Path):
return None
try:
return self.pickling_library.loads(path.read_bytes())
- except ValueError:
- self.log.error(
- "Error deserializing result. Note that result deserialization "
- "is not supported across major Python versions."
- )
- raise
+ except ValueError as e:
+ raise DeserializingResultError(f"Error while deserializing
results. Error: {e}")
Review Comment:
Good 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]