-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] CLI: Improve error reporting
Yargs errors (like 'Unkown argument') do not print the command help anymore but a hint to use 'ui5 --help'. Exceptions are now formatted in a nice way. On default log level only the error message is printed out and a hint to use the --verbose flag for details. On verbose log level, the stack trace is printed as well and a hint featuring the URL to open a new issue for the UI5 Tooling module that is most likely at fault based on an analysis of the first line of the stack trace.
- Loading branch information
1 parent
0394f1a
commit 160b8f7
Showing
3 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters