Fix cache bug

This commit is contained in:
Neo 2020-10-24 22:18:11 +01:00
parent d8b3ffc9c4
commit c6c7a3206a
1 changed files with 1 additions and 5 deletions

View File

@ -55,11 +55,7 @@ namespace KamihamaWeb.Services
}
else
{
Log.Warning($"Cache item {generalJson} not found!");
return new DiskCacheItem()
{
Result = DiskCacheResultType.Failed
};
Log.Information($"Cache item {generalJson} not found! Falling back to origin.");
}
}
if (File.Exists(filePath))