aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2020-11-16 07:47:21 +0100
committerGitHub <noreply@github.com>2020-11-16 07:47:21 +0100
commitd53f97d8034d134c8f1cc7b137656257ba0b5a80 (patch)
tree0598995fee38a886eb015768f4006acb83aa3f4e /Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs
parent84b0932cfee9d83efce63813f7028b23ca3a0ceb (diff)
parente66d79fc0cf1a1a3554e530adfdd3fa8be6967a5 (diff)
Merge pull request #4480 from crobibero/http-exception
Remove custom HttpException
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs')
-rw-r--r--Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs
index c5af68bce..161fa0580 100644
--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs
+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs
@@ -4,6 +4,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Common.Updates;
@@ -101,7 +102,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
throw;
}
}
- catch (HttpException ex)
+ catch (HttpRequestException ex)
{
_logger.LogError(ex, "Error downloading {0}", package.Name);
}