fix: add top-level exception handler to main() #169
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/hottea!169
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/141-cli-exception-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wraps
main()in_entry_point()with a top-level try/except that catches all exceptions, logs them vialogger.exception(), and prints a user-friendly message to stderr instead of a raw traceback.Closes #141
Audit Review — PR #169
Clean fix for #141.
_entry_point()wrapsmain()with top-level exception handler. Full traceback logged vialogger.exception(), user gets friendly message + hint to use--verbose. Pragmatic approach for a CLI tool.No suggestions.
Summary
Result: COMMENT — no issues found.
APPROVED. No more raw tracebacks to users, closes #141. Merge when ready.