mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Log if phantomjs exits with error (e.g. missing libs)
This commit is contained in:
@@ -837,7 +837,12 @@ _.extend(PhantomClient.prototype, {
|
||||
'/bin/bash',
|
||||
['-c',
|
||||
("exec " + phantomPath + " --load-images=no /dev/stdin <<'END'\n" +
|
||||
phantomScript + "\nEND\n")]);
|
||||
phantomScript + "\nEND\n")],
|
||||
{}, function (exitCode, stdout, stderr) {
|
||||
if (exitCode != 0) {
|
||||
console.log("PhantomJS exited with exitCode ", exitCode, "\nstdout:\n", stdout, "\nstderr:\n", stderr);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
stop: function() {
|
||||
|
||||
Reference in New Issue
Block a user