From cb8cd1ff55d86317032365df0b6730815d8a8243 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sun, 16 Dec 2018 00:48:40 +0100 Subject: Log exception where possible --- RSSDP/SsdpDevicePublisher.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'RSSDP') diff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.cs index 2646023e89..cee9b7f911 100644 --- a/RSSDP/SsdpDevicePublisher.cs +++ b/RSSDP/SsdpDevicePublisher.cs @@ -310,11 +310,16 @@ namespace Rssdp.Infrastructure try { - await _CommsServer.SendMessage(System.Text.Encoding.UTF8.GetBytes(message), endPoint, receivedOnlocalIpAddress, cancellationToken).ConfigureAwait(false); + await _CommsServer.SendMessage( + System.Text.Encoding.UTF8.GetBytes(message), + endPoint, + receivedOnlocalIpAddress, + cancellationToken) + .ConfigureAwait(false); } catch (Exception) { - + } //WriteTrace(String.Format("Sent search response to " + endPoint.ToString()), device); -- cgit v1.2.3