diff --git a/passbook/lib/sentry.py b/passbook/lib/sentry.py index f3317b7d5..9aefc68de 100644 --- a/passbook/lib/sentry.py +++ b/passbook/lib/sentry.py @@ -3,7 +3,7 @@ def before_send(event, hint): """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 ignored_classes = [