More Polish (#2686)

This commit is contained in:
Joe Milazzo 2024-02-03 15:28:16 -06:00 committed by GitHub
parent 2ef266c676
commit 0b0e858f24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 35 additions and 8 deletions

View file

@ -174,6 +174,8 @@ public class LicenseService(
catch (Exception ex)
{
logger.LogError(ex, "There was an issue connecting to Kavita+");
await provider.FlushAsync();
await provider.SetAsync(CacheKey, false, _licenseCacheTimeout);
}
return false;