mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
wip more logging
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
iter(array[i], i);
|
||||
};
|
||||
|
||||
each(__jsUrlsToLoad, function (js) {
|
||||
console.log('to load: ' + js)
|
||||
});
|
||||
|
||||
var ajax = function (url, cb) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onreadystatechange = function () {
|
||||
|
||||
@@ -83,7 +83,7 @@ var execFileSync = function (file, args, opts) {
|
||||
|
||||
var child_process = require('child_process');
|
||||
child_process.execFile(file, args, opts, function (err, stdout, stderr) {
|
||||
process.stderr.write(err ? 'failed\n' + err + '\n' : '');
|
||||
process.stderr.write(err ? 'failed: ' + file + ' ' + JSON.stringify(args) + '\n' + err.stack + '\n' : '');
|
||||
future.return({
|
||||
success: ! err,
|
||||
stdout: stdout,
|
||||
|
||||
Reference in New Issue
Block a user