From 22a6aef60b4e87f7596953f0de01e25d8bc79f68 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 29 Apr 2019 20:06:52 +0200 Subject: [PATCH] fix wrong import --- passbook/lib/sentry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [