aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-07-16 08:28:31 -0600
committercrobibero <cody@robibe.ro>2020-07-16 08:28:31 -0600
commitf40bcff1134bf45495aaa877df348a9daff891ee (patch)
tree30d933f6033d718cbeec0286b308f5b5834a7e59
parenta9ce8a804fb01cd443c35604e47eb9ad62ba1c54 (diff)
Catch HttpRequestException when requesting plugins
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 146ebaf25..4f54c06dd 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 />