add library monitor error handling

This commit is contained in:
Luke Pulverenti 2016-09-15 16:30:46 -04:00
parent c335521859
commit ab79129d0c

View file

@ -106,7 +106,14 @@ namespace MediaBrowser.Server.Implementations.IO
if (refreshPath)
{
ReportFileSystemChanged(path);
try
{
ReportFileSystemChanged(path);
}
catch (Exception ex)
{
Logger.ErrorException("Error in ReportFileSystemChanged for {0}", ex, path);
}
}
}