oxidecomputer / oxide.rs

The Oxide Rust SDK and CLI
Mozilla Public License 2.0
38 stars 13 forks source link

Simplify printing error source #761

Closed wfchandler closed 2 months ago

wfchandler commented 2 months ago

anyhow::Error supports using the :# format option to print the error sources as well as the base error.

Replace our customer logic to print the source with this.