瀏覽代碼

Catch checksum mismatch when updating plugins

Cody Robibero 3 年之前
父節點
當前提交
6a6874aa16
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs

+ 4 - 0
Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs

@@ -104,6 +104,10 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
                 {
                     _logger.LogError(ex, "Error updating {0}", package.Name);
                 }
+                catch (InvalidDataException ex)
+                {
+                    _logger.LogError(ex, "Error updating {0}", package.Name);
+                }
 
                 // Update progress
                 lock (progress)