fix: bare except in autonomous_bug_solver example

This commit is contained in:
2026-01-19 01:03:29 -08:00
parent 78c460a720
commit 4d5418aa3d
@@ -150,8 +150,8 @@ async def search_codebase(pattern: str, file_types: List[str] = None) -> List[Di
"match": match.group(),
"context": content.split('\n')[line_num-1]
})
except:
pass
except (OSError, UnicodeDecodeError):
pass # Skip unreadable files
return results