Browse Source

catch ApplicationException in directory watchers

Luke Pulverenti 12 years ago
parent
commit
4fd4b23a47
1 changed files with 5 additions and 0 deletions
  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)
             {