mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
EXPERIMENTAL: Steam session improvements
1. Make sure that every call to steamcommunity has active session 2. Move whole userspace logic for session handling to ArchiWebHandler (and Bot) 3. Implement session caching and TTL so we won't send IsLoggedIn() on each ArchiWebHandler call 4. Instead of restarting whole steam account, just refresh the session via ArchiWebHandler instead
This commit is contained in:
@@ -224,7 +224,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
if (!responseMessage.IsSuccessStatusCode) {
|
||||
if (Debugging.IsDebugBuild || Program.GlobalConfig.Debug) {
|
||||
Logging.LogGenericError("Request: " + request + "failed!");
|
||||
Logging.LogGenericError("Request: " + request + " failed!");
|
||||
Logging.LogGenericError("Status code: " + responseMessage.StatusCode);
|
||||
Logging.LogGenericError("Content: " + Environment.NewLine + await responseMessage.Content.ReadAsStringAsync().ConfigureAwait(false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user