diff --git a/src/pdata/btree.rs b/src/pdata/btree.rs index 4351456..b7494f4 100644 --- a/src/pdata/btree.rs +++ b/src/pdata/btree.rs @@ -558,7 +558,7 @@ pub fn unpack_node( for k in &keys { if let Some(l) = last { if k <= l { - return Err(node_err(&path, "keys out of order")); + return Err(node_err(&path, &format!("keys out of order: {} <= {}", k, l))); } }