From 00f42590c87fc4082f4e7c62efff9abaeec85d58 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 9 Sep 2024 13:41:28 -0700 Subject: [PATCH] feat: add AssertionError to ANY_GIT_ERROR tuple --- aider/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/repo.py b/aider/repo.py index 7416c4d40..69a5a3c52 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -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) +ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, AssertionError) class GitRepo: