Skip to content

Commit

Permalink
feat(s3s-test): adjust error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nugine committed Oct 30, 2024
1 parent 58fff18 commit e642bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/s3s-test/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ where
{
fn from(source: E) -> Self {
if env::var("RUST_BACKTRACE").is_ok() {
eprintln!("Failed: {source}");
eprintln!("Backtrace:\n");
eprintln!("Failed: {source:#?}\n");
eprintln!("Backtrace:");
backtrace::trace(|frame| {
backtrace::resolve_frame(frame, |symbol| {
if let (Some(name), Some(filename), Some(colno)) = (symbol.name(), symbol.filename(), symbol.colno()) {
Expand Down

0 comments on commit e642bf1

Please sign in to comment.