give more info when reporting too few entries in btree node
This commit is contained in:
parent
868d143621
commit
240d9895cc
@ -210,7 +210,8 @@ namespace persistent_data {
|
||||
out << "too few entries in btree: "
|
||||
<< n.get_nr_entries()
|
||||
<< ", expected at least "
|
||||
<< min;
|
||||
<< min
|
||||
<< "(max_entries = " << n.get_max_entries() << ")";
|
||||
errs_->add_child(out.str());
|
||||
throw runtime_error(out.str());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user