fix: show stack properly

This commit is contained in:
Barış Soner Uşaklı
2020-07-07 12:47:14 -04:00
parent ace312e068
commit 7b04d8970d

View File

@@ -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);
}