mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Catch all exceptions instead, #85
This commit is contained in:
@@ -129,7 +129,8 @@ namespace ArchiSteamFarm {
|
||||
SteamDirectory.Initialize().Wait();
|
||||
initialized = true;
|
||||
Logging.LogGenericInfo("Success!");
|
||||
} catch (TaskCanceledException) {
|
||||
} catch (Exception e) {
|
||||
Logging.LogGenericException(e);
|
||||
Logging.LogGenericWarning("Failed! Retrying...");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user