* Minor fix in error message composition.

This commit is contained in:
hns 2006-02-06 20:11:23 +00:00
parent c06106ec8d
commit 181b7286d2

View file

@ -579,7 +579,7 @@ public final class Skin {
msg = x.toString(); msg = x.toString();
} }
msg = new StringBuffer("Macro error in ").append(fullName) msg = new StringBuffer("Macro error in ").append(fullName)
.append(": ").append(x.getMessage()).toString(); .append(": ").append(msg).toString();
reval.getResponse().write(" [" + msg + "] "); reval.getResponse().write(" [" + msg + "] ");
// for ScriptingExceptions get the original exception // for ScriptingExceptions get the original exception
if (x instanceof ScriptingException) { if (x instanceof ScriptingException) {