Why not export the last failure reason? I think it will significantly when debugging the issue.