mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
refactor: Improve error handling for repository file counting failure
This commit is contained in:
parent
b6944bd670
commit
b1c268f355
1 changed files with 2 additions and 1 deletions
|
@ -558,7 +558,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
coder.show_announcements()
|
||||
except UnableToCountRepoFiles as e:
|
||||
io.tool_error(f"Unable to count repository files: {str(e)}")
|
||||
io.tool_error("Some repository information may be incomplete.")
|
||||
io.tool_error("Git repository may be corrupt?")
|
||||
return 1
|
||||
|
||||
if args.show_prompts:
|
||||
coder.cur_messages += [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue