diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-29 08:42:07 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-29 08:42:07 -0400 |
| commit | 4fd4b23a4705d56a744ebe647aaf0398c77410a9 (patch) | |
| tree | 9ff14acd808023d621d6ba8eb1b0cb6d7919d74d /MediaBrowser.Server.Implementations/IO | |
| parent | 448294b6bb6985724887de248173f970e22b41d6 (diff) | |
catch ApplicationException in directory watchers
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO')
| -rw-r--r-- | MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |
