mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Update from ASFB
This commit is contained in:
@@ -71,6 +71,10 @@ public static class SteamUtilities {
|
||||
internal static EResult? InterpretError(string errorText) {
|
||||
ArgumentException.ThrowIfNullOrEmpty(errorText);
|
||||
|
||||
if (errorText == "Timeout") {
|
||||
return EResult.Timeout;
|
||||
}
|
||||
|
||||
if (errorText.StartsWith("batched request timeout", StringComparison.Ordinal)) {
|
||||
return EResult.RemoteCallFailed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user