Skip to content

Do not propage server error to the client from the GrpcInboundGateway #11040

Description

@artembilan

The current code is:

responseObserver.onError(toGrpcStatusException(t))
...
private static StatusRuntimeException toGrpcStatusException(Throwable throwable) {
	return toGrpcStatusException(throwable, throwable.getMessage());
}

Which sends back to the client an internal server error.

Consider just put something like Internal Server Error, and see if original should be logged under error(), so it is not get lost in between.

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions