The Free Software Media System - Server Backend & API
Catch HttpRequestException when requesting plugins
crobiberof40bcff1134b
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.csindex 146ebaf25b..4f54c06dd2 100644--- a/Emby.Server.Implementations/Updates/InstallationManager.cs+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs@@ -148,6 +148,11 @@ namespace Emby.Server.Implementations.Updates_logger.LogError(ex, "An error occurred while accessing the plugin manifest: {Manifest}", manifest);return Array.Empty<PackageInfo>();}+ catch (HttpRequestException ex)+ {+ _logger.LogError(ex, "An error occurred while accessing the plugin manifest: {Manifest}", manifest);+ return Array.Empty<PackageInfo>();+ }}/// <inheritdoc />