diff --git a/src/errors/tests.rs b/src/errors/tests.rs index 32fd12f..52c3678 100644 --- a/src/errors/tests.rs +++ b/src/errors/tests.rs @@ -7,6 +7,8 @@ fn examine_report( ) { println!("{}", error); println!("{:?}", error); + println!("{:?}", error.source()); + println!("{}", error.code().unwrap()); // Convert to report let report: miette::Report = error.into(); println!("{}", report);