Don't report 404 errors

This commit is contained in:
Shadowfacts 2023-02-26 14:09:29 -05:00
parent f176a6c8eb
commit 007d5d6791
1 changed files with 1 additions and 1 deletions

View File

@ -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)