Remove display prefix from unexpected errors, was causing redundancy in nested errors
This commit is contained in:
parent
2302e9ff64
commit
b88f555390
@ -52,7 +52,7 @@ impl Error {
|
||||
|
||||
impl fmt::Display for Error {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "Unexpected error occurred: {}", self.0)
|
||||
write!(f, "{}", self.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user