mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-29 04:51:10 +00:00
Better format errors
This commit is contained in:
parent
3a4d21b349
commit
90965d6ee9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ pub(crate) struct Error {
|
|||
|
||||
impl std::fmt::Display for Error {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
write!(f, "{}", self.kind)?;
|
||||
write!(f, "{}\n", self.kind)?;
|
||||
std::fmt::Display::fmt(&self.context, f)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue