Fix comment

This commit is contained in:
ghubstan 2022-03-05 20:45:09 -03:00
parent 784e2ae894
commit 82549b3c22
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -137,7 +137,7 @@ class GrpcExceptionHandler {
return UNAVAILABLE.withDescription(description);
// If the above checks did not return an io.grpc.Status.Code, we map
// the native Java exception to an io.grpc.Status, usually defaulting to UNKNOWN.
// the native Java exception to an io.grpc.Status.
if (t instanceof IllegalArgumentException)
return INVALID_ARGUMENT.withDescription(description);
else if (t instanceof IllegalStateException)