mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Closes #2763
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user