diff --git a/lib/genDocute.js b/lib/genDocute.js
index <HASH>..<HASH> 100644
--- a/lib/genDocute.js
+++ b/lib/genDocute.js
@@ -23,6 +23,6 @@ module.exports = async config => {
     logger.success('Generated successfully')
   } catch (err) {
     console.error(err.name === 'SAOError' ? err.message : err.stack)
+    process.exit(1)
   }
-  process.exit(1)
 }
fix: Avoid abnormal exits

fix #<I>