Skip to content

Commit

Permalink
Catch WebException thrown when polling for confirmations
Browse files Browse the repository at this point in the history
  • Loading branch information
geel9 committed Mar 23, 2016
1 parent 88a6201 commit 6ade33c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Steam Desktop Authenticator/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ private async void timerTradesPopup_Tick(object sender, EventArgs e)
try
{
Confirmation[] tmp = await currentAccount.FetchConfirmationsAsync();
foreach(var conf in tmp)
foreach (var conf in tmp)
{
if (conf.ConfType == Confirmation.ConfirmationType.MarketSellTransaction && manifest.AutoConfirmMarketTransactions)
acc.AcceptConfirmation(conf);
Expand All @@ -440,6 +440,9 @@ private async void timerTradesPopup_Tick(object sender, EventArgs e)
await currentAccount.RefreshSessionAsync(); //Don't save it to the HDD, of course. We'd need their encryption passkey again.
lblStatus.Text = "";
}
catch (WebException)
{
}
}

lblStatus.Text = "";
Expand Down

0 comments on commit 6ade33c

Please sign in to comment.