Add more debug info.

This commit is contained in:
Paulo Gustavo Veiga 2013-03-02 18:13:59 -03:00
parent def2034fa0
commit 9cabfb14a5

View File

@ -113,7 +113,7 @@ public class MindmapServiceImpl
} }
if (!xml.startsWith("<map") || !xml.endsWith("</map>")) { if (!xml.startsWith("<map") || !xml.endsWith("</map>")) {
throw new WiseMappingException("Map seems not to be a valid mindmap:"+xml); throw new WiseMappingException("Map seems not to be a valid mindmap: '"+xml +"'");
} }
mindmapManager.updateMindmap(mindMap, saveHistory); mindmapManager.updateMindmap(mindMap, saveHistory);