marrrcin
04/22/2024, 11:45 AMon_pipeline_error
is not executed when there's an exception in the dataset implementation?datajoely
04/22/2024, 2:15 PMdatajoely
04/22/2024, 2:15 PMmarrrcin
04/22/2024, 2:21 PMon_pipeline_error
was not calledNok Lam Chan
04/22/2024, 2:47 PMNok Lam Chan
04/22/2024, 2:47 PMmarrrcin
04/22/2024, 3:50 PMafter_context_created
and it was too early in the lifecycle - I couldn't capture failures in on_pipeline_error
if a dataset raised exception in __init__
. Switching the session initialization from after_context_created
to before_pipeline_run
does the job better (as the exp. trck session will not be initialized when the exception in the dataset occurs). Everything is fine then. Sorry for the confusion sadcat2