Skip to content

Commit

Permalink
Code changes to address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kundadebdatta committed Aug 16, 2023
1 parent 29faa46 commit d2b9f6b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Microsoft.Azure.Cosmos/src/Routing/GatewayAddressCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,7 @@ await this.serverPartitionAddressCache.RefreshAsync(
}
catch (Exception ex)
{
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);
DefaultTrace.TraceWarning($"Failed to refresh addresses in the background for the collection rid: {partitionKeyRangeIdentity.CollectionRid} with exception: {ex}. '{System.Diagnostics.Trace.CorrelationManager.ActivityId}'");
}
});
}
Expand Down

0 comments on commit d2b9f6b

Please sign in to comment.