Skip to content

Commit

Permalink
πŸ› FIX: Symbol error
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Mar 20, 2020
1 parent 5108816 commit b5b4ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports = (heading = `ERROR: `, err, displayError = true, exit = true) =>
if (err) {
console.log();
if (displayError) {
console.log(`${sym.fail} ${red(heading)}`);
console.log(`${sym.fail} ${red(`ERROR β†’`)} ${err.name}`);
console.log(`${sym.error} ${red(heading)}`);
console.log(`${sym.error} ${red(`ERROR β†’`)} ${err.name}`);
console.log(`${sym.info} ${red(`REASON β†’`)} ${err.message}`);
console.log(`${sym.info} ${red(`ERROR STACK ↓ \n`)} ${err.stack}\n`);
} else {
Expand Down

0 comments on commit b5b4ff5

Please sign in to comment.