Skip to content

Commit

Permalink
fix(build): error display
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Oct 24, 2019
1 parent 4b1917d commit 7c56fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@nodepack/service/src/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = (api, options) => {
if (stats.hasErrors()) {
const data = stats.toJson()
for (const error of data.errors) {
console.log('\n' + error)
console.log('\n', error.stack || error.message || error)
}
onError(`Build failed with errors.`)
return
Expand Down

0 comments on commit 7c56fe7

Please sign in to comment.