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);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue