Propagate original error causing XdsClient stream closure to the Channel

This commit is contained in:
Chengyuan Zhang 2020-06-10 11:26:29 -07:00
parent a3a7a5e399
commit 9cf4d02ce3
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ final class XdsNameResolver extends NameResolver {
logger.log(
XdsLogLevel.WARNING,
"Received error from xDS client {0}: {1}", xdsClient, error.getDescription());
listener.onError(Status.UNAVAILABLE.withDescription(error.getDescription()));
listener.onError(error);
}
}