Skip to content

Commit

Permalink
🐞 use better output for building error
Browse files Browse the repository at this point in the history
  • Loading branch information
macisi committed Jun 26, 2018
1 parent d863daa commit dab9ee5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/child_service/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ getProdConfig(projectConfig)
}
if (stats.hasErrors()) {
// eslint-disable-next-line no-console
console.log(stats.toJson().errors[0].split('\n').slice(0, 2).join('\n'));
console.log(stats.toString({
colors: true,
}));
noticeLog('BUILD', 'FAILED', 'error');
return;
}
Expand Down

0 comments on commit dab9ee5

Please sign in to comment.