The bot now handles incorrect login details correctly instead of printing an error to the error log.