Skip to content

Commit 5d26652

Browse files
committed
Handle one more case of Steam being down
Thanks @ezhevita
1 parent 8618b01 commit 5d26652

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,11 @@ internal async Task<bool> AcknowledgeTradeRestrictions() {
15481548
}
15491549

15501550
switch (response.StatusCode) {
1551+
case HttpStatusCode.BadGateway:
1552+
case HttpStatusCode.NotFound:
1553+
case HttpStatusCode.ServiceUnavailable:
1554+
// Steam maintenance as usual
1555+
return (EResult.Timeout, EPurchaseResultDetail.Timeout);
15511556
case HttpStatusCode.Forbidden:
15521557
// Let's convert this into something reasonable
15531558
return (EResult.AccessDenied, EPurchaseResultDetail.InvalidPackage);

0 commit comments

Comments
 (0)