diff --git a/src/main.rs b/src/main.rs index 1b92c40b5..4a2ba9a30 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,4 @@ #[tokio::main] -pub async fn main() { - if let Err(err) = pixi::cli::execute().await { - eprintln!("{err:?}"); - std::process::exit(1); - } +pub async fn main() -> miette::Result<()> { + pixi::cli::execute().await }