Avoid logging of the user-raised GRPCError on the server-side
This commit is contained in:
parent
5d9d744a05
commit
249a3d3284
|
@ -415,6 +415,8 @@ async def request_handler(
|
|||
content_type=content_type,
|
||||
)
|
||||
await method_func(stream)
|
||||
except GRPCError:
|
||||
raise
|
||||
except asyncio.TimeoutError:
|
||||
if wrapper.cancel_failed:
|
||||
log.exception('Failed to handle cancellation')
|
||||
|
|
Loading…
Reference in New Issue