Fixes: 1) Remove outdated and unnecessary error ignores from Sentry configuration;
Extra: Simplify error handling by cleaning up unreferenced exception ignore list entries;
This commit is contained in:
parent
e8c767946b
commit
da3f307f2b
1 changed files with 0 additions and 15 deletions
|
|
@ -282,21 +282,6 @@ if getenv("SENTRY_DSN"):
|
|||
from sentry_sdk.integrations.redis import RedisIntegration
|
||||
|
||||
ignore_errors: list[str] = [
|
||||
"django.http.response.Http404",
|
||||
"django.core.exceptions.PermissionDenied",
|
||||
"django.core.exceptions.BadRequest",
|
||||
"django.db.utils.OperationalError",
|
||||
"billiard.exceptions.SoftTimeLimitExceeded", # This is a handled exception
|
||||
"billiard.exceptions.WorkerLostError", # This is a handled exception
|
||||
"core.models.Attribute.DoesNotExist",
|
||||
"core.models.AttributeGroup.DoesNotExist",
|
||||
"core.models.AttributeValue.DoesNotExist",
|
||||
"core.models.Product.DoesNotExist",
|
||||
"core.models.Category.DoesNotExist",
|
||||
"core.models.Brand.DoesNotExist",
|
||||
"core.models.Stock.DoesNotExist",
|
||||
"core.models.ProductImage.DoesNotExist",
|
||||
"blog.models.Post.DoesNotExist",
|
||||
]
|
||||
|
||||
sentry_sdk.init(
|
||||
|
|
|
|||
Loading…
Reference in a new issue