Do not crash when saving cache

This commit is contained in:
Jack251970 2025-04-04 10:42:48 +08:00
parent 95a3fd36de
commit f6e3608f72

View file

@ -71,6 +71,10 @@ namespace Flow.Launcher.Infrastructure.Image
.Select(x => x.Key) .Select(x => x.Key)
.ToList()); .ToList());
} }
catch (System.Exception e)
{
Log.Exception($"|ImageLoader.SaveAsync|Failed to save image cache to file", e);
}
finally finally
{ {
storageLock.Release(); storageLock.Release();