Fix cache bug
This commit is contained in:
parent
d8b3ffc9c4
commit
c6c7a3206a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue