fix error generating error message in rendering
This commit is contained in:
parent
b9bef4c3c8
commit
4616da8a82
|
@ -1025,7 +1025,9 @@ public class DataRenderer extends Renderer {
|
|||
public XhtmlNode makeExceptionXhtml(Exception e, String function) {
|
||||
XhtmlNode xn;
|
||||
xn = new XhtmlNode(NodeType.Element, "div");
|
||||
xn.para().b().tx("Exception "+function+": "+e.getMessage()).addComment(getStackTrace(e));
|
||||
XhtmlNode p = xn.para();
|
||||
p.b().tx("Exception "+function+": "+e.getMessage());
|
||||
p.addComment(getStackTrace(e));
|
||||
return xn;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue