give more info when reporting too few entries in btree node

This commit is contained in:
Joe Thornber 2012-02-03 11:50:36 +00:00
parent 868d143621
commit 240d9895cc

View File

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