forked from LBRYCommunity/lbry-sdk
pylint
This commit is contained in:
parent
feee534829
commit
186de045b3
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class AIOSQLite:
|
||||||
result = fun(self.connection, *args, **kwargs) # type: ignore
|
result = fun(self.connection, *args, **kwargs) # type: ignore
|
||||||
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…
Reference in a new issue