Skip to content

Commit

Permalink
Update sentry_sdk/integrations/grpc/aio/server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0thentr0py authored May 29, 2024
1 parent 8df0711 commit 972a0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/integrations/grpc/aio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def intercept_service(self, continuation, handler_call_details):
self._handler_call_details = handler_call_details
handler = await continuation(handler_call_details)
if handler is None:
return
return None

if not handler.request_streaming and not handler.response_streaming:
handler_factory = grpc.unary_unary_rpc_method_handler
Expand Down

0 comments on commit 972a0c4

Please sign in to comment.