mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 08:17:11 +00:00
Address PR review feedback: - Wrap fs.renameSync() in try-catch for pauseAccount/resumeAccount - Wrap fs.mkdirSync() in try-catch for paused directory creation - Add idempotent checks (skip if already paused/active) - Rely on syncRegistryWithTokenFiles() for recovery on failure Follows same error handling pattern as removeAccount().