We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a82862 commit e8f664dCopy full SHA for e8f664d
sentry_sdk/integrations/django/__init__.py
@@ -634,7 +634,6 @@ def install_sql_hook():
634
real_executemany = CursorWrapper.executemany
635
real_connect = BaseDatabaseWrapper.connect
636
real_commit = BaseDatabaseWrapper.commit
637
- ignore_logger("django.db.backends")
638
except AttributeError:
639
# This won't work on Django versions < 1.6
640
return
@@ -707,6 +706,7 @@ def commit(self):
707
706
CursorWrapper.executemany = executemany
708
BaseDatabaseWrapper.connect = connect
709
BaseDatabaseWrapper.commit = commit
+ ignore_logger("django.db.backends")
710
711
712
def _set_db_data(span, cursor_or_db, db_operation=None):
0 commit comments