Skip to content

Commit

Permalink
Prepend '*' to error
Browse files Browse the repository at this point in the history
The errors returned by a connection failure are long enough to wrap in
a user's terminal. Add a `*` to the start to make distinguishing errors
easier.
  • Loading branch information
wfchandler committed Jan 30, 2025
1 parent 1448dcd commit c3ea141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/extras/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ pub mod types {
2.. => {
let mut msg = String::from("upload tasks failed:");
for err in errors {
msg += &format!("\n{err}");
msg += &format!("\n * {err}");
}
return Err(DiskImportError::Other(msg.into()));
}
Expand Down

0 comments on commit c3ea141

Please sign in to comment.