silence sql transaction errors
This commit is contained in:
parent
f4bf260cdb
commit
feee534829
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class AIOSQLite:
|
|||
self.connection.commit()
|
||||
return result
|
||||
except (Exception, OSError) as e:
|
||||
log.exception('Error running transaction:', exc_info=e)
|
||||
#log.exception('Error running transaction:', exc_info=e)
|
||||
self.connection.rollback()
|
||||
raise
|
||||
|
||||
|
|
Loading…
Reference in a new issue