mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: show stack properly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user