forked from shadowfacts/Tusker
Don't report 404 errors
This commit is contained in:
parent
f176a6c8eb
commit
007d5d6791
|
@ -119,7 +119,7 @@ private func captureError(_ error: Client.Error, title: String) {
|
|||
return
|
||||
}
|
||||
if let code = event.tags!["response_code"],
|
||||
code == "401" || code == "403" {
|
||||
code == "401" || code == "403" || code == "404" {
|
||||
return
|
||||
}
|
||||
SentrySDK.capture(event: event)
|
||||
|
|
Loading…
Reference in New Issue