exitBlockOnFail block on fail in a during loop

Hi,

I’ trying to do the following:

exec(LOGIN)
.during(120) {
exitBlockOnFail ( // or should it be braces?
exec(BUSINESS)
)
}
.exec(LOGOUT)

My goal is to exit the BUSINESS block as soon as there is an error but I still want to continue until the during loop as expired.

Currently, the user seems to exit the during loop.

What am I doing wrong?

Thanks
Henri

Looks like a bug, can you open an issue, please?

Sure. I’ll cook a use-case.

Would be great!