Pass exception to args_for_retry