Labels for error handling inside while loop?

hi, the issue sounds somewhat similar to the how to mark a CSV line as processed question
=> In your case you would need to mark the logins that do not work, so you can retry them later, or?