Skip to content

The Free Software Media System - Server Backend & API

update logging

Luke Pulverenti07b5c6a750a1
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 79209d438b..28c23b7665 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
{