mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
ircd::db: throw not_found for now in this case.
This commit is contained in:
parent
adf408d4b0
commit
42ce334528
1 changed files with 2 additions and 1 deletions
|
@ -808,7 +808,8 @@ db::valid_or_throw(const rocksdb::Iterator &it)
|
|||
if(!valid(it))
|
||||
{
|
||||
throw_on_error(it.status());
|
||||
assert(0); // status == ok + !Valid() == ???
|
||||
throw not_found();
|
||||
//assert(0); // status == ok + !Valid() == ???
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue