problem: not always clear why an upstream is not available
This commit is contained in:
@@ -91,7 +91,7 @@ class GrpcUpstreams(
|
||||
client.describe(BlockchainOuterClass.DescribeRequest.newBuilder().build())
|
||||
}.onErrorContinue { t, _ ->
|
||||
if (ExceptionUtils.indexOfType(t, ConnectException::class.java) >= 0) {
|
||||
log.warn("gRPC upstream $host:$port is unavailable")
|
||||
log.warn("gRPC upstream $host:$port is unavailable. (${t.javaClass}: ${t.message})")
|
||||
known.values.forEach {
|
||||
it.setStatus(UpstreamAvailability.UNAVAILABLE)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user