From 55d9eb354898d7a86c9d65aa40d25f5519f54ca6 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 11 Jul 2013 14:20:43 +0200 Subject: [PATCH] livestatus: log which table misses the column --- components/livestatus/table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/livestatus/table.cpp b/components/livestatus/table.cpp index dfb5ac652..f9628224b 100644 --- a/components/livestatus/table.cpp +++ b/components/livestatus/table.cpp @@ -89,7 +89,7 @@ Column Table::GetColumn(const String& name) const std::map::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; } -- 2.50.1