0
0
Fork 0
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:
Jason Volk 2017-03-20 04:25:01 -07:00
parent adf408d4b0
commit 42ce334528

View file

@ -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() == ???
}
}