mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
get error message in 'ps ax' failure case
We still want JSON.stringify too because that includes stuff like the exit code. See #2158
This commit is contained in:
@@ -52,7 +52,8 @@ var findMongoPids = function (appDir, port) {
|
||||
'ps ax',
|
||||
function (error, stdout, stderr) {
|
||||
if (error) {
|
||||
fut['throw'](new Error("Couldn't run ps ax: " + JSON.stringify(error)));
|
||||
fut['throw'](new Error("Couldn't run ps ax: " + JSON.stringify(error) +
|
||||
"; " + error.message));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user