Features: 1) Add error handlers for Attribute, AttributeGroup, and AttributeValue DoesNotExist exceptions;
Fixes: 1) None; Extra: None;
This commit is contained in:
parent
f69de19720
commit
ba9e5080bc
1 changed files with 3 additions and 0 deletions
|
|
@ -298,6 +298,9 @@ if getenv("SENTRY_DSN"):
|
||||||
"flower.views.error.NotFoundErrorHandler",
|
"flower.views.error.NotFoundErrorHandler",
|
||||||
"django.http.response.Http404",
|
"django.http.response.Http404",
|
||||||
"billiard.exceptions.SoftTimeLimitExceeded",
|
"billiard.exceptions.SoftTimeLimitExceeded",
|
||||||
|
"core.models.Attribute.DoesNotExist",
|
||||||
|
"core.models.AttributeGroup.DoesNotExist",
|
||||||
|
"core.models.AttributeValue.DoesNotExist",
|
||||||
"core.models.Product.DoesNotExist",
|
"core.models.Product.DoesNotExist",
|
||||||
"core.models.Category.DoesNotExist",
|
"core.models.Category.DoesNotExist",
|
||||||
"core.models.Brand.DoesNotExist",
|
"core.models.Brand.DoesNotExist",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue