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

Better error handling

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