diff --git a/crates/cli/main.rs b/crates/cli/main.rs index fc74b41f..8cc881b5 100644 --- a/crates/cli/main.rs +++ b/crates/cli/main.rs @@ -178,7 +178,7 @@ fn main() { Subcommand::Serve(args) => self::serve::serve(*args), }; if let Err(error) = result { - eprintln!("{}: {}", "error".red().bold(), error); + eprintln!("{}: {:#}", "error".red().bold(), error); std::process::exit(1); } } diff --git a/crates/table/load.rs b/crates/table/load.rs index 46e95001..5f312858 100644 --- a/crates/table/load.rs +++ b/crates/table/load.rs @@ -1,5 +1,5 @@ use super::*; -use anyhow::Result; +use anyhow::{Context, Result}; use std::{ collections::{BTreeMap, BTreeSet}, path::Path, @@ -71,7 +71,9 @@ impl Table { options: FromCsvOptions, handle_progress_event: &mut impl FnMut(LoadProgressEvent), ) -> Result