File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sentry_sdk/integrations/django Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -634,6 +634,7 @@ def install_sql_hook():
634634 real_executemany = CursorWrapper .executemany
635635 real_connect = BaseDatabaseWrapper .connect
636636 real_commit = BaseDatabaseWrapper .commit
637+ ignore_logger ("django.db.backends" )
637638 except AttributeError :
638639 # This won't work on Django versions < 1.6
639640 return
@@ -694,10 +695,9 @@ def connect(self):
694695 @ensure_integration_enabled (DjangoIntegration , real_commit )
695696 def commit (self ):
696697 # type: (BaseDatabaseWrapper) -> None
697- print ("commiting" )
698698 with sentry_sdk .start_span (
699699 op = OP .DB ,
700- name = "commit" , # DBOPERATION.COMMIT,
700+ name = DBOPERATION .COMMIT ,
701701 origin = DjangoIntegration .origin_db ,
702702 ) as span :
703703 _set_db_data (span , self , DBOPERATION .COMMIT )
You can’t perform that action at this time.
0 commit comments