aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-07-17 06:44:15 +0900
committerGitHub <noreply@github.com>2020-07-17 06:44:15 +0900
commit10d396d56d959cc8a76150d6d199603f3d159c41 (patch)
tree72fb7f556c38083240cb3cf93ac9446b08bf952c
parent55dafd41495c2b8821ae059eeaa97d7b32b7dc17 (diff)
parentb541d9f6ffdb38636fabf3cfc7d87b0781527332 (diff)
Merge pull request #3573 from crobibero/plugin-request-exception
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 />