refactor: Improved error handling for the tail-logs subcommand to propagate errors up the stack instead of exiting there.

This commit is contained in:
2025-12-04 10:10:19 -07:00
parent a0073b65ad
commit 659023d561
3 changed files with 10 additions and 16 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ async fn main() -> Result<()> {
let mut cli = Cli::command();
generate(shell, &mut cli, "managarr", &mut io::stdout())
}
Command::TailLogs { no_color } => tail_logs(no_color).await,
Command::TailLogs { no_color } => tail_logs(no_color).await?,
},
None => {
let app_nw = Arc::clone(&app);