diff --git a/src/Files.App/Services/Windows/WindowsIniService.cs b/src/Files.App/Services/Windows/WindowsIniService.cs index eabf759d7db9..0ab2d5a0802f 100644 --- a/src/Files.App/Services/Windows/WindowsIniService.cs +++ b/src/Files.App/Services/Windows/WindowsIniService.cs @@ -20,7 +20,7 @@ public List GetData(string filePath) .Where(line => !line.StartsWith(';') && !string.IsNullOrEmpty(line)) .ToList(); } - catch (Exception ex) when (ex is UnauthorizedAccessException || ex is SystemIO.FileNotFoundException) + catch (Exception ex) when (ex is UnauthorizedAccessException || ex is SystemIO.FileNotFoundException || ex is SystemIO.IOException) { return []; }