Reset status for failed request

Hi,

I want to reset the status for a failed request but obviously it doesn’t work.

Code snippet

.doIf(session => session.isFailed) {
exec(session => session.remove(“moreAvailable”).resetStatus)
}

Am I doing something wrong?

Greetings
Niko

What do you want to do, exactly?
What you’re hacking could only have an impact on tryMax loops: it resets the status of the user and is nowhere related to requests.

Found a feasible way to solve my issue so I removed the session.resetStatus.

Thx anyway
Niko