forked from shadowfacts/Tusker
Don't report 422 or 500 errors
This commit is contained in:
parent
df9ce81060
commit
9c3be68e1c
|
@ -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 == "503" {
|
||||
code == "401" || code == "403" || code == "404" || code == "422" || code == "500" || code == "502" || code == "503" {
|
||||
return
|
||||
}
|
||||
switch mastodonController.instanceFeatures.instanceType {
|
||||
|
|
Loading…
Reference in New Issue