mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
add library monitor error handling
This commit is contained in:
parent
c335521859
commit
ab79129d0c
1 changed files with 8 additions and 1 deletions
|
@ -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 a new issue