mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix validation HTTP error
This commit is contained in:
parent
c916fa501d
commit
468dd0cecc
@ -10,8 +10,8 @@
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0-rc.2.21480.5" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.2-pre.12" />
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="7.7.0"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="7.5.1"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="8.1.0" />
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
@ -14,7 +14,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="K4os.Compression.LZ4.Streams" Version="1.2.13"/>
|
||||
<PackageReference Include="K4os.Compression.LZ4.Streams" Version="1.2.15" />
|
||||
<PackageReference Include="SharpZipLib" Version="1.3.3" />
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<PackageReference Include="FsCheck.Xunit" Version="3.0.0-beta1" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.2-pre.12" />
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="7.7.0" />
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="8.1.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0-rc.2.21480.5" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.2-pre.12" />
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="7.5.1"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
@ -221,6 +221,8 @@ public class DownloadDispatcher
|
||||
}
|
||||
|
||||
public async Task<Archive?> FindUpgrade(Archive archive, TemporaryFileManager fileManager, CancellationToken token)
|
||||
{
|
||||
try
|
||||
{
|
||||
var downloader = Downloader(archive);
|
||||
if (downloader is not IUpgradingDownloader ud) return null;
|
||||
@ -229,6 +231,12 @@ public class DownloadDispatcher
|
||||
token);
|
||||
return await ud.TryGetUpgrade(archive, job, fileManager, token);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogCritical(ex, "While finding upgrade for {PrimaryKeyString}", archive.State.PrimaryKeyString);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public async Task PrepareAll(IEnumerable<IDownloadState> downloadStates)
|
||||
{
|
||||
|
@ -18,8 +18,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="7.7.0"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="7.5.1"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="8.1.0" />
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -11,8 +11,8 @@
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0-rc.2.21480.5" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.2-pre.12" />
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="7.7.0"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="7.5.1"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="8.1.0" />
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
@ -11,10 +11,10 @@
|
||||
<AvaloniaResource Include="Assets\**" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="0.10.3"/>
|
||||
<PackageReference Include="Avalonia.Desktop" Version="0.10.3"/>
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.3"/>
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.3"/>
|
||||
<PackageReference Include="Avalonia" Version="0.10.8" />
|
||||
<PackageReference Include="Avalonia.Desktop" Version="0.10.8" />
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.8" />
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.8" />
|
||||
<PackageReference Include="ReactiveUI.Fody" Version="16.2.6" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -9,8 +9,8 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.2-pre.12" />
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="7.7.0"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="7.5.1"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="8.1.0" />
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
@ -10,8 +10,8 @@
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0-rc.2.21480.5" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0-rc.2.21480.5" />
|
||||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.115" />
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="7.7.0"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="7.5.1"/>
|
||||
<PackageReference Include="Xunit.DependencyInjection" Version="8.1.0" />
|
||||
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user