forked from shadowfacts/Tusker
Ignore HTTP 503 errors
This commit is contained in:
parent
ee5db96c9e
commit
54034ff727
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue