When RUST_BACKTRACE was set in the environment, every user-facing error dumped a 20-line Rust backtrace at the user — e.g. running 'onyx list show' with no workspace gave them a stack trace through anyhow, clap, and libc start. Replace 'fn main() -> Result' with an explicit error printer that walks the anyhow cause chain using Display, and exits 1. Programming-bug panics still surface through the default panic handler. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||