bugfix
This commit is contained in:
parent
51b55ef830
commit
d270dd22e3
@ -138,8 +138,9 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
self.error(f'{name}:error={e}')
|
self.error(f'{name}:error={e}')
|
||||||
x = e
|
x = e
|
||||||
self.info(f'{name}:time cost={t.end_time - t.begin_time}')
|
self.info(f'{name}:time cost={t.end_time - t.begin_time}')
|
||||||
if x is None:
|
if not isinstance(x, StreamResponse):
|
||||||
return HTTPException()
|
self.error(f'x type={type(x)}error({str(x)}) happend')
|
||||||
|
return HTTPException
|
||||||
return x
|
return x
|
||||||
|
|
||||||
async def _handle1(self,request:Request) -> StreamResponse:
|
async def _handle1(self,request:Request) -> StreamResponse:
|
||||||
|
@ -6,3 +6,7 @@
|
|||||||
# __version__ = '0.2.13'
|
# __version__ = '0.2.13'
|
||||||
# use AppLogger in appPublic.app_logger to output log
|
# use AppLogger in appPublic.app_logger to output log
|
||||||
__version__ = '0.3.0'
|
__version__ = '0.3.0'
|
||||||
|
# fix bug in _handle() function in processorResource.py
|
||||||
|
__version__ = '0.3.1'
|
||||||
|
# fix bug in _handle() function in processorResource.py
|
||||||
|
__version__ = '0.3.2'
|
||||||
|
Loading…
Reference in New Issue
Block a user