aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-06-15 13:26:48 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-06-15 13:26:48 -0400
commit07b5c6a750a118405a840277dd0280f25c911924 (patch)
tree06c71ff3dcc7e39a401ae6ac0abca2e4192f1495 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parentccb5b14d772c2d1028fa9003ee64fde3cd4196b3 (diff)
update logging
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 79209d438..28c23b766 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -598,9 +598,10 @@ namespace Emby.Server.Implementations.HttpServer
{
ErrorHandler(ex, httpReq, false);
}
+
catch (Exception ex)
{
- ErrorHandler(ex, httpReq);
+ ErrorHandler(ex, httpReq, !string.Equals(ex.GetType().Name, "SocketException", StringComparison.OrdinalIgnoreCase));
}
finally
{