aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpDevicePublisher.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP/SsdpDevicePublisher.cs')
-rw-r--r--RSSDP/SsdpDevicePublisher.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.cs
index 8d57deb5e..cee9b7f91 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 ex)
+ catch (Exception)
{
-
+
}
//WriteTrace(String.Format("Sent search response to " + endPoint.ToString()), device);
@@ -558,4 +563,4 @@ namespace Rssdp.Infrastructure
}
}
}
-} \ No newline at end of file
+}