mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
chore(vault): make the error explicit
This commit is contained in:
parent
ba2c573ef4
commit
3edb98431b
1 changed files with 1 additions and 7 deletions
|
|
@ -213,13 +213,7 @@ impl Manager {
|
|||
let mut ret = vec![];
|
||||
|
||||
for key in keylist {
|
||||
let record = match T::try_from(self.pddb_get(&settings.dict, &key)?) {
|
||||
Ok(record) => record,
|
||||
Err(error) => match error {
|
||||
_ => todo!(),
|
||||
}
|
||||
};
|
||||
|
||||
let record = T::try_from(self.pddb_get(&settings.dict, &key)?)?;
|
||||
ret.push(record);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue