diff --git a/src/ClaudeDo.Ui/Services/RepoScanner.cs b/src/ClaudeDo.Ui/Services/RepoScanner.cs index bf3a723..8ac8785 100644 --- a/src/ClaudeDo.Ui/Services/RepoScanner.cs +++ b/src/ClaudeDo.Ui/Services/RepoScanner.cs @@ -12,7 +12,8 @@ public static class RepoScanner var result = new List(); IEnumerable subdirs; try { subdirs = Directory.EnumerateDirectories(parentFolder); } - catch { return Array.Empty(); } + catch (Exception e) when (e is IOException or UnauthorizedAccessException) + { return Array.Empty(); } foreach (var dir in subdirs) {