fix: show stack properly

v1.18.x
Barış Soner Uşaklı 5 years ago
parent ace312e068
commit 7b04d8970d

@ -114,7 +114,7 @@ function beforeBuild(targets, callback) {
},
], function (err) {
if (err) {
winston.error('[build] Encountered error preparing for build', err.stack);
winston.error('[build] Encountered error preparing for build\n' + err.stack);
return callback(err);
}
@ -218,7 +218,7 @@ exports.build = function (targets, options, callback) {
},
], function (err) {
if (err) {
winston.error('[build] Encountered error during build step', err.stack);
winston.error('[build] Encountered error during build step\n' + err.stack);
return callback(err);
}

Loading…
Cancel
Save