Features: 1) Add error handlers for Attribute, AttributeGroup, and AttributeValue DoesNotExist exceptions;

Fixes: 1) None;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-05-13 05:55:49 +03:00
parent f69de19720
commit ba9e5080bc

View file

@ -298,6 +298,9 @@ if getenv("SENTRY_DSN"):
"flower.views.error.NotFoundErrorHandler",
"django.http.response.Http404",
"billiard.exceptions.SoftTimeLimitExceeded",
"core.models.Attribute.DoesNotExist",
"core.models.AttributeGroup.DoesNotExist",
"core.models.AttributeValue.DoesNotExist",
"core.models.Product.DoesNotExist",
"core.models.Category.DoesNotExist",
"core.models.Brand.DoesNotExist",