https://kedro.org/ logo
#questions
Title
# questions
s

Santiago Zuluaga

02/21/2024, 3:34 PM
Hi, there's a way to do modifications to the current
KedroSession
that's created when I do '`kedro run`'?. I want to close it, and create other one by code if there's an error in the first one.
d

datajoely

02/21/2024, 3:39 PM
there is an
on_pipeline_error
hook?
s

Santiago Zuluaga

02/21/2024, 3:45 PM
I'm using
on_node_error
. When there's an exception I create another session. But I want to close the first session to create the second one and do the retry of the execution.
d

datajoely

02/21/2024, 3:45 PM
yeah it is a bit funky - I’ve not see people do this before