print key when offer is empty

This commit is contained in:
CJ Cobb
2021-02-02 11:14:57 -05:00
parent c6556ed67e
commit b759e5e90f

View File

@@ -327,6 +327,7 @@ doBookOffers(
catch (std::exception const& e)
{
boost::json::object empty;
empty["missing_key"] = ripple::strHex(obj.key);
return empty;
}
});