aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdevcore/Whiskers.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/libdevcore/Whiskers.cpp b/libdevcore/Whiskers.cpp
index b0a4c755..a6db35c8 100644
--- a/libdevcore/Whiskers.cpp
+++ b/libdevcore/Whiskers.cpp
@@ -90,7 +90,13 @@ string Whiskers::replace(
string tagName(_match[1]);
if (!tagName.empty())
{
- assertThrow(_parameters.count(tagName), WhiskersError, "Value for tag " + tagName + " not provided.");
+ assertThrow(
+ _parameters.count(tagName),
+ WhiskersError,
+ "Value for tag " + tagName + " not provided.\n" +
+ "Template:\n" +
+ _template
+ );
return _parameters.at(tagName);
}
else