Selaa lähdekoodia

catch ApplicationException in directory watchers

Luke Pulverenti 12 vuotta sitten
vanhempi
sitoutus
4fd4b23a47
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs

+ 5 - 0
MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs

@@ -307,6 +307,11 @@ namespace MediaBrowser.Server.Implementations.IO
                     Logger.Warn("Network still unavailable...");
                     retries++;
                 }
+                catch (ApplicationException)
+                {
+                    Logger.Warn("Network still unavailable...");
+                    retries++;
+                }
             }
             if (!success)
             {