Skip to content

Commit 1a055cf

Browse files
committed
Do not log error determining Serena git commit id (not possible when using uvx)
1 parent d3b1f9b commit 1a055cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/serena/util/git.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ def get_git_status() -> GitStatus | None:
1616
return GitStatus(
1717
commit=commit_hash, has_unstaged_changes=unstaged, has_staged_uncommitted_changes=staged, has_untracked_files=untracked
1818
)
19-
except Exception as e:
20-
log.error("Error determining Git status", exc_info=e)
19+
except:
2120
return None

0 commit comments

Comments
 (0)