bugfix
This commit is contained in:
parent
b007ed5c17
commit
fb44d60283
@ -143,8 +143,10 @@ class DBPools:
|
|||||||
self.e_except = e
|
self.e_except = e
|
||||||
cb = format_exc()
|
cb = format_exc()
|
||||||
exception(f'sqlorContext():EXCEPTION{e}, {cb}')
|
exception(f'sqlorContext():EXCEPTION{e}, {cb}')
|
||||||
if sqlor and sqlor.dataChanged:
|
try:
|
||||||
await sqlor.rollback()
|
await sqlor.rollback()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def get_exception(self):
|
def get_exception(self):
|
||||||
return self.e_except
|
return self.e_except
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user