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