pull/7738/head
Conduitry 7 years ago
parent 3ebdab1dc4
commit d0f8a37424

@ -8,9 +8,9 @@ export default function error(err) {
stderr(`${clorox.red(err.message || err)}`);
if (err.frame) {
stderr(err.frame); // eslint-disable-line no-console
stderr(err.frame);
} else if (err.stack) {
stderr(`${clorox.grey(err.stack)}`);
stderr(`${clorox.gray(err.stack)}`);
}
process.exit(1);

Loading…
Cancel
Save