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