mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
ignore the now often-used 410 error
This commit is contained in:
@ -17,7 +17,7 @@ from pathlib import Path
|
||||
import django.conf.locale
|
||||
import django.core.exceptions
|
||||
from django.core.validators import URLValidator
|
||||
from django.http import Http404
|
||||
from django.http import Http404, HttpResponseGone
|
||||
|
||||
import structlog
|
||||
from corsheaders.defaults import default_headers
|
||||
@ -1340,7 +1340,7 @@ MARKDOWNIFY = {
|
||||
}
|
||||
|
||||
# Ignore these error typeps for in-database error logging
|
||||
IGNORED_ERRORS = [Http404, django.core.exceptions.PermissionDenied]
|
||||
IGNORED_ERRORS = [Http404, HttpResponseGone, django.core.exceptions.PermissionDenied]
|
||||
|
||||
# Maintenance mode
|
||||
MAINTENANCE_MODE_RETRY_AFTER = 10
|
||||
|
Reference in New Issue
Block a user