add library monitor error handling
This commit is contained in:
parent
b06d70e882
commit
b0a14a191a
|
@ -106,7 +106,14 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||||
|
|
||||||
if (refreshPath)
|
if (refreshPath)
|
||||||
{
|
{
|
||||||
ReportFileSystemChanged(path);
|
try
|
||||||
|
{
|
||||||
|
ReportFileSystemChanged(path);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.ErrorException("Error in ReportFileSystemChanged for {0}", ex, path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user