Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
FirmianaMarsili authored Feb 7, 2022
1 parent 8588d55 commit b76a216
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,8 @@ static async System.Threading.Tasks.Task Main(string[] args)
}
}
for (int i = 0; i < Accounts.Count; i++)
{
try
{
//为了输出日志规整 等待顺序执行
await PunchAsync(Accounts[i].username, Accounts[i].password, i);
}
catch (Exception ex)
{
Log(ex);
Log($"第{i + 1}个账号运行错误");
}

{
await PunchAsync(Accounts[i].username, Accounts[i].password, i);
}
}

Expand Down

0 comments on commit b76a216

Please sign in to comment.