Skip to content

Commit dcb91fe

Browse files
committed
fix(error output): 🐛 Improve uncaught error output
1 parent 9501991 commit dcb91fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All notable changes to this project will be documented in this file. See [standa
1616

1717
### Bug Fixes
1818

19-
* **sherbang:** :bug: Fix missing shebang ([9b72b9b](https://github.com/vivaxy/gacp/commit/9b72b9b))
19+
* **shebang:** :bug: Fix missing shebang ([9b72b9b](https://github.com/vivaxy/gacp/commit/9b72b9b))
2020

2121

2222

@@ -68,7 +68,7 @@ All notable changes to this project will be documented in this file. See [standa
6868

6969
### Features
7070

71-
* **promopt:** :sparkles: Use autocomplete to improve select experience ([b3af533](https://github.com/vivaxy/gacp/commit/b3af533))
71+
* **prompt:** :sparkles: Use autocomplete to improve select experience ([b3af533](https://github.com/vivaxy/gacp/commit/b3af533))
7272

7373

7474

lib/shell/logger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ exports.success = (message) => {
2323
};
2424

2525
exports.uncaughtError = (error) => {
26-
console.log(chalk.red(error.message));
26+
console.log(chalk.gray(error.stack));
2727
};

0 commit comments

Comments
 (0)