fix node failure on command error
Merge pull request #3 from jaredly/master

fix node failure on command error