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}')
|
||||
x = e
|
||||
self.info(f'{name}:time cost={t.end_time - t.begin_time}')
|
||||
if x is None:
|
||||
return HTTPException()
|
||||
if not isinstance(x, StreamResponse):
|
||||
self.error(f'x type={type(x)}error({str(x)}) happend')
|
||||
return HTTPException
|
||||
return x
|
||||
|
||||
async def _handle1(self,request:Request) -> StreamResponse:
|
||||
|
@ -6,3 +6,7 @@
|
||||
# __version__ = '0.2.13'
|
||||
# use AppLogger in appPublic.app_logger to output log
|
||||
__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