提交 4fd832aa 编写于 作者: N nwin

Better error handling

上级 3d587c45
...@@ -87,12 +87,18 @@ impl Attribute { ...@@ -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
})
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册