Skip to content
Prev Previous commit
Revert "Code changes to address review comments."
This reverts commit d2b9f6b.
  • Loading branch information
kundadebdatta committed Aug 16, 2023
commit b45cd955decd33756f8f7dcafe4cd1912407d926
5 changes: 4 additions & 1 deletion Microsoft.Azure.Cosmos/src/Routing/GatewayAddressCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,10 @@ await this.serverPartitionAddressCache.RefreshAsync(
}
catch (Exception ex)
{
DefaultTrace.TraceWarning($"Failed to refresh addresses in the background for the collection rid: {partitionKeyRangeIdentity.CollectionRid} with exception: {ex}. '{System.Diagnostics.Trace.CorrelationManager.ActivityId}'");
DefaultTrace.TraceWarning("Failed to refresh addresses in the background for the collection rid: {0} with exception: {1}. '{2}'",
partitionKeyRangeIdentity.CollectionRid,
ex,
System.Diagnostics.Trace.CorrelationManager.ActivityId);
}
});
}
Expand Down