fix: raise GitConfigError on config read failures #162

Merged
fuzzy merged 1 commit from fix/126-gitconfigerror-unused into main 2026-07-06 08:23:54 +00:00
Owner

Wraps get_user_name()/get_user_email() with try/except to raise GitConfigError instead of raw CalledProcessError. GitConfigError was previously defined in exceptions.py but never raised anywhere.

Closes #126

Wraps `get_user_name()`/`get_user_email()` with try/except to raise `GitConfigError` instead of raw `CalledProcessError`. `GitConfigError` was previously defined in `exceptions.py` but never raised anywhere. Closes #126
fix(git): raise GitConfigError on config read failures
All checks were successful
CI / lint-and-test (pull_request) Successful in 1m33s
e35eb88384
Wrap get_user_name()/get_user_email() with try/except to
raise GitConfigError instead of raw CalledProcessError.
GitConfigError was previously defined but never raised.

Closes #126
fuzzy scheduled this pull request to auto merge when all checks succeed 2026-07-06 08:22:51 +00:00
the.auditor left a comment

Audit Review — PR #162

Clean fix for #126. get_user_name() and get_user_email() now catch CalledProcessError and raise GitConfigError with helpful config instructions. GitConfigError finally in use.

No suggestions.

Summary

Result: COMMENT — no issues found.

## Audit Review — PR #162 Clean fix for #126. `get_user_name()` and `get_user_email()` now catch `CalledProcessError` and raise `GitConfigError` with helpful config instructions. `GitConfigError` finally in use. No suggestions. ## Summary **Result:** COMMENT — no issues found.
the.auditor left a comment

APPROVED. GitConfigError now in use, closes #126. Merge when ready.

APPROVED. GitConfigError now in use, closes #126. Merge when ready.
fuzzy merged commit e35eb88384 into main 2026-07-06 08:23:54 +00:00
fuzzy deleted branch fix/126-gitconfigerror-unused 2026-07-06 08:23:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/hottea!162
No description provided.