mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-05 00:20:08 +00:00
Misc
Authenticator init section can't throw exception, and the message was pasted twice
This commit is contained in:
@@ -1707,14 +1707,8 @@ namespace ArchiSteamFarm.Steam {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
authenticator.Init(this);
|
||||||
authenticator.Init(this);
|
BotDatabase.MobileAuthenticator = authenticator;
|
||||||
BotDatabase.MobileAuthenticator = authenticator;
|
|
||||||
} catch (Exception e) {
|
|
||||||
ArchiLogger.LogGenericException(e);
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
ArchiLogger.LogGenericInfo(Strings.BotAuthenticatorImportFinished);
|
ArchiLogger.LogGenericInfo(Strings.BotAuthenticatorImportFinished);
|
||||||
|
|
||||||
@@ -1987,11 +1981,7 @@ namespace ArchiSteamFarm.Steam {
|
|||||||
File.Delete(maFilePath);
|
File.Delete(maFilePath);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
ArchiLogger.LogGenericException(e);
|
ArchiLogger.LogGenericException(e);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ArchiLogger.LogGenericInfo(Strings.BotAuthenticatorImportFinished);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InitConnectionFailureTimer() {
|
private void InitConnectionFailureTimer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user