mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
don't fail if keyattribute not found in current basis when no basis specified
This is not actually an error, we just need to try another basis down the list. This is a copypasta bug that was only caught now. :-/
This commit is contained in:
parent
0d9a39a349
commit
5de44a9502
1 changed files with 3 additions and 1 deletions
|
|
@ -741,7 +741,9 @@ impl BasisCache {
|
||||||
index: kcache.descriptor_index,
|
index: kcache.descriptor_index,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
return Err(Error::new(ErrorKind::NotFound, "key not found"));
|
// this is not a hard error, it just means that the key wasn't in this basis.
|
||||||
|
// that's alright, it could be in one of the other ones!
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue