From d1d3c011823d8ed8f51fc77bed789ae88db0598e Mon Sep 17 00:00:00 2001 From: Stephen Kennedy Date: Wed, 6 Nov 2019 14:41:02 +0000 Subject: [PATCH] Use old formatting for trace (because it defers formatting) --- libs/Matchmaking/src/Peer/UdpPeerDiscoveryTransport.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/Matchmaking/src/Peer/UdpPeerDiscoveryTransport.cs b/libs/Matchmaking/src/Peer/UdpPeerDiscoveryTransport.cs index 4acebaa..5e29dac 100644 --- a/libs/Matchmaking/src/Peer/UdpPeerDiscoveryTransport.cs +++ b/libs/Matchmaking/src/Peer/UdpPeerDiscoveryTransport.cs @@ -175,8 +175,7 @@ namespace Microsoft.MixedReality.Sharing.Matchmaking } else { - Trace.TraceWarning($"UdpPeerNetwork.cs: " + - "Discarding message from {result.RemoteEndPoint} - too many streams"); + Trace.TraceWarning("UdpPeerNetwork.cs: Discarding message from {0} - too many streams", result.RemoteEndPoint); handleMessage = false; } }