diff options
| author | Bond_009 <bond.009@outlook.com> | 2018-12-16 00:48:40 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2018-12-16 00:49:18 +0100 |
| commit | cb8cd1ff55d86317032365df0b6730815d8a8243 (patch) | |
| tree | 732ab0809b7d0a0027a2eac1d7f132d77006268e /RSSDP | |
| parent | 22093c9e8fe15691cca79795acc2616a8b7ec4ff (diff) | |
Log exception where possible
Diffstat (limited to 'RSSDP')
| -rw-r--r-- | RSSDP/SsdpDevicePublisher.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.cs index 2646023e8..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) { - + } //WriteTrace(String.Format("Sent search response to " + endPoint.ToString()), device); |
