You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/28 07:48:36 UTC
[GitHub] [airflow] kaojunsong commented on issue #17045: "Failed to load task run error" occur in "on_failure_callback" after upgrading from 2.0.0 to 2.1.2
kaojunsong commented on issue #17045:
URL: https://github.com/apache/airflow/issues/17045#issuecomment-1111860934
@Calder-Ty Thanks a lot, I have fixed my issue by adding
`
def __reduce__(self):
return ParameterValidationException, (self.reason, self.component)
`
to my custom Exception, as the pickle library needs to unpicle data from log files.
https://www.synopsys.com/blogs/software-security/python-pickling/#:~:text=Whenever%20an%20object%20is%20pickled,reconstruct%20this%20object%20when%20unpickling.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org