mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 23:06:45 +00:00
working_copy: drop "Internal backend error" message from error
I don't think the message adds anything over what the `BackendError` itself provides, so let's use `transparent` instead. I also dropped the `Internal` prefix from the variant because that also didn't seem to add anything.
This commit is contained in:
parent
8aa71f58f3
commit
ca1f19736c
1 changed files with 2 additions and 2 deletions
|
@ -150,8 +150,8 @@ pub enum SnapshotError {
|
|||
path: PathBuf,
|
||||
},
|
||||
/// Reading or writing from the commit backend failed.
|
||||
#[error("Internal backend error")]
|
||||
InternalBackendError(#[from] BackendError),
|
||||
#[error(transparent)]
|
||||
BackendError(#[from] BackendError),
|
||||
/// A file was larger than the specified maximum file size for new
|
||||
/// (previously untracked) files.
|
||||
#[error("New file {path} of size ~{size} exceeds snapshot.max-new-file-size ({max_size})")]
|
||||
|
|
Loading…
Reference in a new issue