1 2 3 4 5 6 7 8
fn main() -> Result<(), Box<dyn std::error::Error>> { finery::diagnostics::install(); let result = finery::cli::run(); if let Err(error) = &result { finery::diagnostics::record_error("process exited with an error", error.as_ref()); } result }