Browse Source

update logging

Luke Pulverenti 8 years ago
parent
commit
07b5c6a750
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

+ 2 - 1
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
             {