Explorar o código

update logging

Luke Pulverenti %!s(int64=8) %!d(string=hai) anos
pai
achega
07b5c6a750

+ 2 - 1
Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

@@ -598,9 +598,10 @@ namespace Emby.Server.Implementations.HttpServer
             {
             {
                 ErrorHandler(ex, httpReq, false);
                 ErrorHandler(ex, httpReq, false);
             }
             }
+
             catch (Exception ex)
             catch (Exception ex)
             {
             {
-                ErrorHandler(ex, httpReq);
+                ErrorHandler(ex, httpReq, !string.Equals(ex.GetType().Name, "SocketException", StringComparison.OrdinalIgnoreCase));
             }
             }
             finally
             finally
             {
             {