Version 2.0.6.0 - Don't die on 503s, retry

This commit is contained in:
Timothy Baldridge 2020-05-21 17:24:26 -06:00
parent aab9ccd694
commit 51d62067d0

View File

@ -11,6 +11,7 @@ using Wabbajack.Common.Exceptions;
using Wabbajack.Common.Serialization.Json;
using Wabbajack.Lib.Validation;
namespace Wabbajack.Lib.Downloaders
{
public class HTTPDownloader : IDownloader, IUrlDownloader
@ -222,7 +223,7 @@ TOP:
if (!await Download(newArchive, tmpFile.Path))
return default;
}
catch (HttpRequestException)
catch (HttpException)
{
return default;
}