mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-07 20:12:06 +08:00

- Move panic recovery defer to the beginning of main function to ensure it can catch panics from all subsequent function calls - Remove unused setupErrorRecovery function - Add explanatory comment for the defer placement This change ensures proper error handling throughout the entire program execution, rather than just within the setupErrorRecovery function scope.