aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-04 10:09:21 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-04 10:09:21 -0400
commita7b11c8ee952ca43fe949ab4f1b6577e94ce6bba (patch)
tree60b1f4bdd8d70d56792772581d30df3c327d17c2 /MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
parent67ffbed93e1e4c5d33ed5e12d5d5aaa587261493 (diff)
fix mono project
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs6
1 files changed, 3 insertions, 3 deletions
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);
}