mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-28 02:35:03 +00:00
Better error handling
This commit is contained in:
parent
3d587c4533
commit
4fd832aa5b
@ -87,12 +87,18 @@ impl Attribute {
|
||||
}
|
||||
Ok(names)
|
||||
} else {
|
||||
// Ignore error for now
|
||||
Ok(Vec::new())
|
||||
Err(io::IoError {
|
||||
kind: io::OtherIoError,
|
||||
desc: "could not read extended attributes",
|
||||
detail: None
|
||||
})
|
||||
}
|
||||
} else {
|
||||
// Ignore error for now
|
||||
Ok(Vec::new())
|
||||
Err(io::IoError {
|
||||
kind: io::OtherIoError,
|
||||
desc: "could not read extended attributes",
|
||||
detail: None
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user