Skip to content

Commit

Permalink
refactor: render error with prefix Error: (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden authored Sep 7, 2024
1 parent 9347bb8 commit f4a48e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub async fn render_stream(
}

pub fn render_error(err: anyhow::Error, highlight: bool) {
let err = format!("{err:?}");
let err = format!("Error: {err:?}");
if highlight {
eprintln!("{}", error_text(&err));
} else {
Expand Down

0 comments on commit f4a48e6

Please sign in to comment.