From b432c35e7e2c0aa15868c378003947c8198d5b54 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 27 Mar 2014 16:50:31 +0100 Subject: [PATCH] fix(import/BpmnTreeWalker): correct typo --- lib/import/BpmnTreeWalker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/import/BpmnTreeWalker.js b/lib/import/BpmnTreeWalker.js index 3e666152..e937fad6 100644 --- a/lib/import/BpmnTreeWalker.js +++ b/lib/import/BpmnTreeWalker.js @@ -121,7 +121,7 @@ function BpmnTraverser(handler) { // force drawing of everything not yet drawn that is part of the target DI handleUnhandledProcesses(definitions.rootElements); } else { - throw new Error('unsupported root element for bpmndi:Diagram: ' + type.name); + throw new Error('unsupported root element for bpmndi:Diagram <' + rootElement.$type + '>'); } }