mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +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;
|
||||
}
|
||||
|
||||
try {
|
||||
authenticator.Init(this);
|
||||
BotDatabase.MobileAuthenticator = authenticator;
|
||||
} catch (Exception e) {
|
||||
ArchiLogger.LogGenericException(e);
|
||||
|
||||
return false;
|
||||
}
|
||||
authenticator.Init(this);
|
||||
BotDatabase.MobileAuthenticator = authenticator;
|
||||
|
||||
ArchiLogger.LogGenericInfo(Strings.BotAuthenticatorImportFinished);
|
||||
|
||||
@@ -1987,11 +1981,7 @@ namespace ArchiSteamFarm.Steam {
|
||||
File.Delete(maFilePath);
|
||||
} catch (Exception e) {
|
||||
ArchiLogger.LogGenericException(e);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
ArchiLogger.LogGenericInfo(Strings.BotAuthenticatorImportFinished);
|
||||
}
|
||||
|
||||
private void InitConnectionFailureTimer() {
|
||||
|
||||
Reference in New Issue
Block a user