Revert "Crash on unobserved task exceptions again"

This reverts commit 62c31fd4d0.
This commit is contained in:
JustArchi
2018-06-24 14:41:19 +02:00
parent f1ae005531
commit 80acfbee17

View File

@@ -421,7 +421,10 @@ namespace ArchiSteamFarm {
}
await ASF.ArchiLogger.LogFatalException(e.Exception).ConfigureAwait(false);
await Exit(1).ConfigureAwait(false);
// Normally we should abort the application here, but many tasks are in fact failing in SK2 code which we can't easily fix
// Thanks Valve.
e.SetObserved();
}
private static void ParsePostInitArgs(IReadOnlyCollection<string> args) {