From a7b11c8ee952ca43fe949ab4f1b6577e94ce6bba Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 4 Nov 2016 10:09:21 -0400 Subject: fix mono project --- .../EntryPoints/UdpServerEntryPoint.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MediaBrowser.Server.Implementations') diff --git a/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs index 386c16513..1febcdd40 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs @@ -1,10 +1,10 @@ -using MediaBrowser.Common.Net; +using System; +using MediaBrowser.Common.Net; using MediaBrowser.Controller; using MediaBrowser.Controller.Plugins; using MediaBrowser.Model.Logging; using MediaBrowser.Model.Serialization; using MediaBrowser.Server.Implementations.Udp; -using System.Net.Sockets; namespace MediaBrowser.Server.Implementations.EntryPoints { @@ -60,7 +60,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints UdpServer = udpServer; } - catch (SocketException ex) + catch (Exception ex) { _logger.ErrorException("Failed to start UDP Server", ex); } -- cgit v1.2.3