This commit is contained in:
Archi
2022-12-15 17:44:38 +01:00
parent 3be6bf8aca
commit fd517294d1
2 changed files with 5 additions and 0 deletions

View File

@@ -195,6 +195,7 @@ public sealed class ArchiWebHandler : IDisposable {
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
switch (response.Content!.ErrorCode) {
case EResult.DuplicateRequest:
case EResult.ServiceUnavailable:
response = null;
continue;

View File

@@ -34,6 +34,10 @@ internal static class SteamUtilities {
throw new ArgumentNullException(nameof(errorText));
}
if (errorText.StartsWith("EYldRefreshAppIfNecessary", StringComparison.Ordinal)) {
return EResult.ServiceUnavailable;
}
int startIndex = errorText.LastIndexOf('(');
if (startIndex < 0) {