bugfix
This commit is contained in:
parent
5ed59e19a4
commit
0570bf8952
@ -205,10 +205,12 @@ class DBPools:
|
||||
|
||||
@asynccontextmanager
|
||||
async def sqlorContext(self,name):
|
||||
self.e_except = None
|
||||
sqlor = await self.getSqlor(name)
|
||||
try:
|
||||
yield sqlor
|
||||
except Exception as e:
|
||||
self.e_except = e
|
||||
cb = format_exc()
|
||||
exception(f'sqlorContext():EXCEPTION{e}, {cb}')
|
||||
if sqlor and sqlor.dataChanged:
|
||||
|
Loading…
Reference in New Issue
Block a user