diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-09-06 12:47:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-06 12:47:45 -0400 |
| commit | 3e7d1158da4c9beb28ba130362e2be7e7896c11b (patch) | |
| tree | 11c8df549a0b5806f1f878616159d2f337048ad8 /Emby.Server.Implementations/ScheduledTasks/Tasks | |
| parent | f898c35b9668318c1200bc6bc1659ffed47ee798 (diff) | |
| parent | 9221e224984124a9e184890e1d7b61155f8354db (diff) | |
Better handle timeouts on plugin operations
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs index 31153af20f..dd3da2214a 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs @@ -107,6 +107,11 @@ public class PluginUpdateTask : IScheduledTask, IConfigurableScheduledTask { _logger.LogError(ex, "Error updating {Name}", package.Name); } + catch (TimeoutException ex) + { + // One slow download must not abort the updates for the remaining plugins. + _logger.LogError(ex, "Error downloading {Name}", package.Name); + } catch (InvalidDataException ex) { _logger.LogError(ex, "Error updating {Name}", package.Name); |
