tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

Boss hangs when process fails to start after internal error #8

Closed alanshaw closed 9 years ago

alanshaw commented 9 years ago
$ sudo bs start test.js --user alan --group alan
error: boss:log:error date=1416922309850, message=Child process 92a947fd-d759-4e61-9787-a3eee35db242 test.js (19946) experienced an uncaught exception Error: groupname not found
    at Object.exports.gid (/usr/local/lib/node_modules/process-boss/node_modules/userid/lib/userid.js:39:18)
    at UserInfo.afterPropertiesSet (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/boss-daemon/lib/common/UserInfo.js:13:30)
    at process._tickCallback (node.js:419:13)

$ sudo bs start test.js --user alan
error: test.js failed to start

^C

Where test.js is:

throw new Error('kerpow')