Skip to content

Commit

Permalink
fix: Display for Error shouldn't include source
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Mar 22, 2024
1 parent d5adcba commit ddf7016
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ impl fmt::Display for Error {
write!(f, " for url ({url})")?;
}

if let Some(e) = &self.inner.source {
write!(f, ": {e}")?;
}

Ok(())
}
}
Expand Down

0 comments on commit ddf7016

Please sign in to comment.