use error message instead of empty string for Error

master
rascul 8 months ago
parent 4ddfd7d8fc
commit 91d4c18a9c

@ -47,7 +47,7 @@ impl Display for Rear {
impl From<Box<dyn Error>> for Rear {
fn from(error: Box<dyn Error>) -> Self {
Self { error, message: String::new() }
Self { message: error.to_string(), error }
}
}

Loading…
Cancel
Save