Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct pre-color loading error handling
If we fail before successfully loading the colors, we can't use them to print the error message. Gritty previously panicked without providing a meaningful error message, because the global OnceLock `log::STYLES` has not been set. Thus, print the error message without colors and exit with status code 1.
- Loading branch information