next.js
7976243a - chore(next-upgrade): use process exit instead of throwing (#71018)

Commit
1 year ago
chore(next-upgrade): use process exit instead of throwing (#71018) ### Why? IMO it's better to error log + process.exit(1) on custom errors than throw in CLI unless we're catching it. #### Before ![CleanShot 2024-10-09 at 19 30 31](https://github.com/user-attachments/assets/6685a27b-cd60-422e-a3fc-f1a3d365fc92) #### After ![CleanShot 2024-10-09 at 19 32 39](https://github.com/user-attachments/assets/b6ef8a21-d10e-4575-aa35-66ea1ed9ac17)
Author
Parents
Loading