This commit is contained in:
JustArchi
2016-09-27 09:57:11 +02:00
parent fcf081c640
commit d3a65f956c

View File

@@ -338,12 +338,12 @@ namespace ArchiSteamFarm {
callback = await SteamUser.RequestWebAPIUserNonce(); callback = await SteamUser.RequestWebAPIUserNonce();
} catch (Exception e) { } catch (Exception e) {
Logging.LogGenericException(e, BotName); Logging.LogGenericException(e, BotName);
await Connect().ConfigureAwait(false); await Connect(true).ConfigureAwait(false);
return false; return false;
} }
if (string.IsNullOrEmpty(callback?.Nonce)) { if (string.IsNullOrEmpty(callback?.Nonce)) {
await Connect().ConfigureAwait(false); await Connect(true).ConfigureAwait(false);
return false; return false;
} }
@@ -351,7 +351,7 @@ namespace ArchiSteamFarm {
return true; return true;
} }
await Connect().ConfigureAwait(false); await Connect(true).ConfigureAwait(false);
return false; return false;
} }