From 173f5241c4ce9694fb83bfa1f8a147c5e79fcc79 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 30 Jan 2015 15:50:03 +0100 Subject: [PATCH] Improve error message for non-matching apply rules fixes #8323 --- lib/config/applyrule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/applyrule.cpp b/lib/config/applyrule.cpp index 961aa8905..58328b0da 100644 --- a/lib/config/applyrule.cpp +++ b/lib/config/applyrule.cpp @@ -155,7 +155,7 @@ void ApplyRule::CheckMatches(void) BOOST_FOREACH(const ApplyRule& rule, kv.second) { if (!rule.HasMatches()) Log(LogWarning, "ApplyRule") - << "Apply rule '" + rule.GetName() + "' for type '" + kv.first + "' does not match anywhere!"; + << "Apply rule '" << rule.GetName() << "' (" << rule.GetDebugInfo() << ") for type '" << kv.first << "' does not match anywhere!"; } } }