Ignore HTTP 503 errors

This commit is contained in:
Shadowfacts 2023-07-02 11:53:49 -07:00
parent ee5db96c9e
commit 54034ff727
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ private func captureError(_ error: Client.Error, in mastodonController: Mastodon
return
}
if let code = event.tags!["response_code"],
code == "401" || code == "403" || code == "404" || code == "502" {
code == "401" || code == "403" || code == "404" || code == "502" || code == "503" {
return
}
switch mastodonController.instanceFeatures.instanceType {