Module: check_mk
Branch: master
Commit: 5fdea57201bcfedc4bc07a4ba7a8c050c0d37dc6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5fdea57201bcfe…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon May 15 10:00:58 2017 +0200
Slightly improved error message.
Change-Id: I6acf7f3abaae8130c9a9ba85973c6675687cef01
---
livestatus/src/Query.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/Query.cc b/livestatus/src/Query.cc
index da66da9..b29291a 100644
--- a/livestatus/src/Query.cc
+++ b/livestatus/src/Query.cc
@@ -206,8 +206,8 @@ unique_ptr<Filter> Query::createFilter(Column &column,
RelationalOperator relOp,
try {
return column.createFilter(relOp, value);
} catch (const runtime_error &e) {
- invalidHeader("error creating filter on table" + _table->name() +
": " +
- e.what());
+ invalidHeader("error creating filter on table " + _table->name() +
+ ": " + e.what());
return nullptr;
}
}