public void addFailure(@Nullable Throwable failure) {
if (failure != null) {
logger.error("addFailure local", failure);
} else {
failure = new UnknownUpstreamFailure();
}
try {
boolean firstFailure = listener.setException(failure);
logger.trace("addFailure first: {}", firstFailure);
} finally {