mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 08:53:16 +00:00
backend: mark BackendError::Other as transparent
The inner error should be the source, and I don't think the "Error:" prefix gives additional context.
This commit is contained in:
parent
bef2ecadac
commit
84949dd551
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ pub enum BackendError {
|
|||
object_type: &'static str,
|
||||
source: Box<dyn std::error::Error + Send + Sync>,
|
||||
},
|
||||
#[error("Error: {0}")]
|
||||
#[error(transparent)]
|
||||
Other(Box<dyn std::error::Error + Send + Sync>),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue