fix wrong import
This commit is contained in:
parent
ec0a6e7854
commit
22a6aef60b
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
def before_send(event, hint):
|
def before_send(event, hint):
|
||||||
"""Check if error is database error, and ignore if so"""
|
"""Check if error is database error, and ignore if so"""
|
||||||
from django.core.exceptions import OperationalError
|
from django.db import OperationalError
|
||||||
from django_redis.exceptions import ConnectionInterrupted
|
from django_redis.exceptions import ConnectionInterrupted
|
||||||
|
|
||||||
ignored_classes = [
|
ignored_classes = [
|
||||||
|
|
Reference in a new issue