Handle TypeError coming from git ops

This commit is contained in:
Paul Gauthier 2024-09-21 17:09:08 -07:00
parent 739bd07c04
commit 7f156830fe

View file

@ -10,7 +10,7 @@ from aider.sendchat import simple_send_with_retries
from .dump import dump # noqa: F401
ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, IndexError, BufferError)
ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, IndexError, BufferError, TypeError)
class GitRepo: