aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/FileRefresher.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-09-22 09:06:34 -0600
committerGitHub <noreply@github.com>2023-09-22 09:06:34 -0600
commit7958a2fd15c756f77c5f8629f2c193f10fd29881 (patch)
treeb77bc5c72bdcbccb94e39546473af74d893eee62 /Emby.Server.Implementations/IO/FileRefresher.cs
parent3a2799e61b3aa1fcda0d06531d455944e78c581c (diff)
parentb8f42573c42b63937433ef12e5948275192acde4 (diff)
Merge pull request #10218 from Bond-009/librarymonitor
Diffstat (limited to 'Emby.Server.Implementations/IO/FileRefresher.cs')
-rw-r--r--Emby.Server.Implementations/IO/FileRefresher.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/IO/FileRefresher.cs b/Emby.Server.Implementations/IO/FileRefresher.cs
index 0ad81b653..15b1836eb 100644
--- a/Emby.Server.Implementations/IO/FileRefresher.cs
+++ b/Emby.Server.Implementations/IO/FileRefresher.cs
@@ -85,7 +85,7 @@ namespace Emby.Server.Implementations.IO
}
}
- public void ResetPath(string path, string affectedFile)
+ public void ResetPath(string path, string? affectedFile)
{
lock (_timerLock)
{
@@ -148,13 +148,6 @@ namespace Emby.Server.Implementations.IO
{
item.ChangedExternally();
}
- catch (IOException ex)
- {
- // For now swallow and log.
- // Research item: If an IOException occurs, the item may be in a disconnected state (media unavailable)
- // Should we remove it from it's parent?
- _logger.LogError(ex, "Error refreshing {Name}", item.Name);
- }
catch (Exception ex)
{
_logger.LogError(ex, "Error refreshing {Name}", item.Name);