mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 17:44:12 +00:00
chore(import): log import errors to console
This commit is contained in:
parent
710ff1be58
commit
799273b88d
@ -63,6 +63,9 @@ function BpmnTreeWalker(handler) {
|
||||
return element.di && visit(element, ctx);
|
||||
} catch (e) {
|
||||
logError(e.message, { element: element, error: e });
|
||||
|
||||
console.error('failed to import ' + elementToString(element));
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user