diff options
| author | crobibero <cody@robibe.ro> | 2020-07-16 08:28:31 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-07-16 08:28:31 -0600 |
| commit | f40bcff1134bf45495aaa877df348a9daff891ee (patch) | |
| tree | 30d933f6033d718cbeec0286b308f5b5834a7e59 /Emby.Server.Implementations/Updates | |
| parent | a9ce8a804fb01cd443c35604e47eb9ad62ba1c54 (diff) | |
Catch HttpRequestException when requesting plugins
Diffstat (limited to 'Emby.Server.Implementations/Updates')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 5 |
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 /> |
