You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous incarnation of with_retries_if() had a bug in that set -e
would cause it to exit immediately when the exec_and_capture call
returned non-zero, so it would never go on to retry. Added a global
variable for the last run status and performing the exec_and_capture in
the if clause now so the return status informs the branching instead,
and we capture the status value separately.
Also did a bit of reworking to not trail a 'Retrying...' message and
delay after a final failed execution.
And loops on 1 to retry now, since that's what we need for output.
0 commit comments