mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
add library monitor error handling
This commit is contained in:
parent
b06d70e882
commit
b0a14a191a
@ -105,9 +105,16 @@ namespace MediaBrowser.Server.Implementations.IO
|
|||||||
_tempIgnoredPaths.TryRemove(path, out val);
|
_tempIgnoredPaths.TryRemove(path, out val);
|
||||||
|
|
||||||
if (refreshPath)
|
if (refreshPath)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
ReportFileSystemChanged(path);
|
ReportFileSystemChanged(path);
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.ErrorException("Error in ReportFileSystemChanged for {0}", ex, path);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user