MrRio / vtop

Wow such top. So stats. More better than regular top.
http://parall.ax/vtop
MIT License
4.12k stars 150 forks source link

Properly handle errors from npm info #116

Closed alyssais closed 6 years ago

alyssais commented 6 years ago

Currently, execution would continue, so "()" would be safeEvaled, causing a crash.

Instead, gracefully handle the failure, just like errors from outside the childProcess.exec callback (which are handled by try/catch).