Просмотр исходного кода

Remove extra whitespace

Co-authored-by: dkanada <dkanada@users.noreply.github.com>
Mark Monteiro 5 лет назад
Родитель
Сommit
5eec3a1342
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

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

@@ -508,7 +508,7 @@ namespace Emby.Server.Implementations.HttpServer
                     // Instead, re-throw the exception so it can be handled by the DeveloperExceptionPageMiddleware.
                     // Instead, re-throw the exception so it can be handled by the DeveloperExceptionPageMiddleware.
                     // However, do not use the DeveloperExceptionPageMiddleware when the stack trace should be ignored,
                     // However, do not use the DeveloperExceptionPageMiddleware when the stack trace should be ignored,
                     // because it will log the stack trace when it handles the exception.
                     // because it will log the stack trace when it handles the exception.
-                    if (statusCode == 500 && !ignoreStackTrace && _hostEnvironment.IsDevelopment() )
+                    if (statusCode == 500 && !ignoreStackTrace && _hostEnvironment.IsDevelopment())
                     {
                     {
                         throw;
                         throw;
                     }
                     }