servicetalk icon indicating copy to clipboard operation
servicetalk copied to clipboard

`GrpcExceptionMapperServiceFilter`: set grpc-status if response payload fails

Open idelpivnitskiy opened this issue 3 years ago • 0 comments

Motivation:

Existing version of GrpcExceptionMapperServiceFilter does not set grpc-status if an error happens during response payload body processing.

Modifications:

  • Apply GrpcStatusUpdater when GrpcExceptionMapperServiceFilter gets a response;

Result:

If any filter throws an error during payload body processing, grpc-status will be set correctly.

Depends on #2050.

idelpivnitskiy avatar Jan 12 '22 16:01 idelpivnitskiy