diff --git a/java/dingo-sdk/src/main/java/io/dingodb/sdk/service/caller/ServiceCaller.java b/java/dingo-sdk/src/main/java/io/dingodb/sdk/service/caller/ServiceCaller.java index e58a94fd7..feeae9675 100644 --- a/java/dingo-sdk/src/main/java/io/dingodb/sdk/service/caller/ServiceCaller.java +++ b/java/dingo-sdk/src/main/java/io/dingodb/sdk/service/caller/ServiceCaller.java @@ -3,6 +3,7 @@ import io.dingodb.sdk.common.DingoClientException.ExhaustedRetryException; import io.dingodb.sdk.common.DingoClientException.InvalidRouteTableException; import io.dingodb.sdk.common.DingoClientException.RequestErrorException; +import io.dingodb.sdk.service.JsonMessageUtils; import io.dingodb.sdk.service.Caller; import io.dingodb.sdk.service.ChannelProvider; import io.dingodb.sdk.service.Service; @@ -162,6 +163,7 @@ private RuntimeException generateException( throw exception; } else { handler.onNonConnection(request, options, traceId); + log.error(JsonMessageUtils.toJson(name, traceId, request, null, options)); throw new ExhaustedRetryException( "Exec [" + traceId + "] [" + name + "] error, " + "transform leader attempts exhausted." );