From 1a055cf2bb2502b0bf65b09c79d2a47f2ff33b75 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Tue, 24 Jun 2025 13:48:34 +0200 Subject: [PATCH] Do not log error determining Serena git commit id (not possible when using uvx) --- src/serena/util/git.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/serena/util/git.py b/src/serena/util/git.py index b46d17e..865ae59 100644 --- a/src/serena/util/git.py +++ b/src/serena/util/git.py @@ -16,6 +16,5 @@ def get_git_status() -> GitStatus | None: return GitStatus( commit=commit_hash, has_unstaged_changes=unstaged, has_staged_uncommitted_changes=staged, has_untracked_files=untracked ) - except Exception as e: - log.error("Error determining Git status", exc_info=e) + except: return None