-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tui): improve logging and error handling in setup
- Set up stderr logger by default, allowing subcommands to override. - Change TuiCommand to TUICommand for consistency. - Enhance error messages in flag parsing and TUI setup. - Refactor NewController to return error instead of using fatal logs. - Implement detailed logging and error handling in TUI Execute method. - Add unpublished log entries catch-up mechanism if TUI setup fails. - Update comments and method documentation for clarity. This fixes some weirdness around stderr messages popping into the TUI (fixes in the sense that we follow a different strategy for getting the messages to the user now).
- Loading branch information
Showing
4 changed files
with
118 additions
and
64 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
Oops, something went wrong.