From 4fd4b23a4705d56a744ebe647aaf0398c77410a9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 29 Jun 2013 08:42:07 -0400 Subject: [PATCH] catch ApplicationException in directory watchers --- MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs index 3568e446f..b95921168 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) {