I took the lambda structure from the existing code - my re-raise should raise the error causing the retries in case they failed.
Do you think I should raise a new error instead of passing the underlying error on to the callign code?