The Free Software Media System - Server Backend & API
add library monitor error handling
Luke Pulverentiab79129d0c9e
diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.csindex 80364bb553..8bb40a00ea 100644--- a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs+++ b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs@@ -106,7 +106,14 @@ namespace MediaBrowser.Server.Implementations.IOif (refreshPath){- ReportFileSystemChanged(path);+ try+ {+ ReportFileSystemChanged(path);+ }+ catch (Exception ex)+ {+ Logger.ErrorException("Error in ReportFileSystemChanged for {0}", ex, path);+ }}}