Explorar el Código

added more startup error handling

Luke Pulverenti hace 11 años
padre
commit
2456a66e85
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MediaBrowser.ServerApplication/MainStartup.cs

+ 1 - 1
MediaBrowser.ServerApplication/MainStartup.cs

@@ -122,7 +122,7 @@ namespace MediaBrowser.ServerApplication
                     {
                         return string.Equals(runningPath, i.MainModule.FileName) && currentProcess.Id != i.Id;
                     }
-                    catch (Win32Exception)
+                    catch (Exception)
                     {
                         return false;
                     }