forked from LBRYCommunity/lbry-sdk
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()
|
self.connection.commit()
|
||||||
return result
|
return result
|
||||||
except (Exception, OSError) as e:
|
except (Exception, OSError) as e:
|
||||||
log.exception('Error running transaction:', exc_info=e)
|
#log.exception('Error running transaction:', exc_info=e)
|
||||||
self.connection.rollback()
|
self.connection.rollback()
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue