Update GameFinder

This commit is contained in:
Timothy Baldridge 2022-06-27 12:55:34 -06:00
parent b85dd653b3
commit 609d473387
3 changed files with 13 additions and 11 deletions

View File

@ -18,10 +18,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="GameFinder.StoreHandlers.EGS" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.GOG" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.Origin" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.Steam" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.EGS" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.GOG" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.Origin" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.Steam" Version="1.8.0" />
</ItemGroup>
</Project>

View File

@ -19,11 +19,11 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="GameFinder.StoreHandlers.BethNet" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.EGS" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.GOG" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.Origin" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.Steam" Version="1.6.3" />
<PackageReference Include="GameFinder.StoreHandlers.BethNet" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.EGS" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.GOG" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.Origin" Version="1.8.0" />
<PackageReference Include="GameFinder.StoreHandlers.Steam" Version="1.8.0" />
<PackageReference Include="ini-parser-netstandard" Version="2.5.2" />
<PackageReference Include="Octodiff" Version="1.2.36" />
</ItemGroup>

View File

@ -21,13 +21,15 @@ public class CesiVFSCache : IVfsCache
public async Task<IndexedVirtualFile?> Get(Hash hash, CancellationToken token)
{
_logger.LogInformation("Requesting CESI Information for: {Hash}", hash.ToHex());
try
{
return await _client.GetCesiVfsEntry(hash, token);
var result = await _client.GetCesiVfsEntry(hash, token);
_logger.LogInformation("Requesting CESI Information for: {Hash} - Found", hash.ToHex());
return result;
}
catch (HttpException exception)
{
_logger.LogInformation("Requesting CESI Information for: {Hash} - Not Found", hash.ToHex());
return null;
}
}