diff --git a/direct-impl/src/main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java b/direct-impl/src/main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java index 79dca5f6..25dabc26 100644 --- a/direct-impl/src/main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java +++ b/direct-impl/src/main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java @@ -136,7 +136,7 @@ public final class RntbdTransportClient extends TransportClient implements AutoC emitter.onSuccess(response); } else { reportIssueUnless(error instanceof DocumentClientException, logger, this, - "expected {}, not ", DocumentClientException.class, error); + "expected {}, not {}", DocumentClientException.class, error); this.metrics.incrementErrorResponseCount(); emitter.onError(error); }