chore: improve rmcl diagnostic logging

This commit is contained in:
objz committed 2026-06-16 10:22:51 +02:00
1 parent a58e6fb76d
commit 09bc8f26fb
23 files changed
+925 -61

No files matched your search

+2
View File
@@ -4,8 +4,10 @@ async fn main() {
// Guard must stay in scope to keep the log file writer alive
let _guard = rmcl::tui::logging::init();
tracing::info!("Starting rmcl {}", env!("CARGO_PKG_VERSION"));
if let Err(e) = color_eyre::install() {
eprintln!("Failed to install color-eyre: {}", e);
tracing::warn!("Failed to install color-eyre handler: {}", e);
}
rmcl::cli_init().await