Explorar o código

Catch checksum mismatch when updating plugins

Cody Robibero %!s(int64=3) %!d(string=hai) anos
pai
achega
6a6874aa16

+ 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);
                     _logger.LogError(ex, "Error updating {0}", package.Name);
                 }
                 }
+                catch (InvalidDataException ex)
+                {
+                    _logger.LogError(ex, "Error updating {0}", package.Name);
+                }
 
 
                 // Update progress
                 // Update progress
                 lock (progress)
                 lock (progress)