Better error handling

This commit is contained in:
nwin 2015-02-22 14:06:18 +01:00
parent 3d587c4533
commit 4fd832aa5b

View File

@ -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
})
} }
} }