소스 검색

catch ApplicationException in directory watchers

Luke Pulverenti 12 년 전
부모
커밋
4fd4b23a47
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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)
             {