feat: add AssertionError to ANY_GIT_ERROR tuple

This commit is contained in:
Paul Gauthier 2024-09-09 13:41:28 -07:00 committed by Paul Gauthier (aider)
parent 4e63254704
commit 00f42590c8

View file

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