浏览代码

Put Boolean operators at beginning of lines instead of the end

Mark Monteiro 5 年之前
父节点
当前提交
de634203d8
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

+ 5 - 5
Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

@@ -548,11 +548,11 @@ namespace Emby.Server.Implementations.HttpServer
                 }
 
                 bool ignoreStackTrace =
-                    ex is SocketException ||
-                    ex is IOException ||
-                    ex is OperationCanceledException ||
-                    ex is SecurityException ||
-                    ex is FileNotFoundException;
+                    ex is SocketException
+                    || ex is IOException
+                    || ex is OperationCanceledException
+                    || ex is SecurityException
+                    || ex is FileNotFoundException;
                 await ErrorHandler(ex, httpReq, ignoreStackTrace).ConfigureAwait(false);
             }
             finally