Inconsistent Error Handling #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
handle_error() # exits immediately
log_message error # continues execution
Improvement: Standardize error handling strategy. Use trap for cleanup.