livestatus: log which table misses the column

This commit is contained in:
Michael Friedrich 2013-07-11 14:20:43 +02:00
parent 4731faea89
commit 55d9eb3548
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ Column Table::GetColumn(const String& name) const
std::map<String, Column>::const_iterator it = m_Columns.find(name);
if (it == m_Columns.end())
BOOST_THROW_EXCEPTION(std::invalid_argument("Column '" + name + "' does not exist."));
BOOST_THROW_EXCEPTION(std::invalid_argument("Column '" + name + "' does not exist in table '" + GetName() + "'."));
return it->second;
}