Skip to content

Commit af49d3b

Browse files
fix(ui): display full error details in stderr output (#1924)
1 parent c352e35 commit af49d3b

File tree

1 file changed

+1
-1
lines changed
  • crates/forge_main/src

1 file changed

+1
-1
lines changed

crates/forge_main/src/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ impl<A: API + 'static, F: Fn() -> A> UI<A, F> {
263263
tracker::error(&error);
264264
tracing::error!(error = ?error);
265265
self.spinner.stop(None)?;
266-
self.writeln_to_stderr(TitleFormat::error(error.to_string()).display().to_string())?;
266+
self.writeln_to_stderr(TitleFormat::error(format!("{:?}", error)).display().to_string())?;
267267
},
268268
}
269269
}

0 commit comments

Comments
 (0)