Skip to content

The Free Software Media System - Server Backend & API

catch ApplicationException in directory watchers

Luke Pulverenti4fd4b23a4705
diff --git a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
index 3568e446f8..b959211681 100644
--- a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
+++ b/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)
{