pull/1582/head
Conduitry 7 years ago
parent a043c4414a
commit 2edc56b919

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

Loading…
Cancel
Save