is there a way to know within a step if

is there a way to know within a step if it's retrying, and if so, can you get the error that made it fail?
3 Replies
Focux
FocuxOP2mo ago
what i'm currently doing is catching the error within the step and then storing it in a map that i have outside the step and every time the step is executed, i check whether there's an error
Seekerdasbatatas
currently no, what would be your end goal with this though?
Focux
FocuxOP2mo ago
it's an AI use case, basically updating the prompt with the error message

Did you find this page helpful?