Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyPlane committed Oct 1, 2023
1 parent 99ecb79 commit 2133e2a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ private[grpc] object HttpTranscoding {
.applyOrElse(
request,
// actually, this should be impossible since only way to miss match transformed request with real gRPC server schema
// is either wrong transformation or wrong creation(mismatched implementation and gRPC handler)
// is either wrongly transform HTTP request to gRPC request
// or wrapping other service's gRPC handler
(_: HttpRequest) =>
Future.failed(
IllegalRequestException(StatusCodes.NotFound, s"Requested resource ${req.uri} not found!")))
Expand Down

0 comments on commit 2133e2a

Please sign in to comment.