mirror of https://github.com/grpc/grpc-java.git
Propagate original error causing XdsClient stream closure to the Channel
This commit is contained in:
parent
a3a7a5e399
commit
9cf4d02ce3
|
|
@ -224,7 +224,7 @@ final class XdsNameResolver extends NameResolver {
|
||||||
logger.log(
|
logger.log(
|
||||||
XdsLogLevel.WARNING,
|
XdsLogLevel.WARNING,
|
||||||
"Received error from xDS client {0}: {1}", xdsClient, error.getDescription());
|
"Received error from xDS client {0}: {1}", xdsClient, error.getDescription());
|
||||||
listener.onError(Status.UNAVAILABLE.withDescription(error.getDescription()));
|
listener.onError(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue