chore(import): log import errors to console

This commit is contained in:
Nico Rehwaldt 2014-12-09 18:32:34 +01:00
parent 710ff1be58
commit 799273b88d
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ function BpmnTreeWalker(handler) {
return element.di && visit(element, ctx); return element.di && visit(element, ctx);
} catch (e) { } catch (e) {
logError(e.message, { element: element, error: e }); logError(e.message, { element: element, error: e });
console.error('failed to import ' + elementToString(element));
console.error(e);
} }
} }