#3313 Packaging the thrown error in reconised structure

This commit is contained in:
Knut Sveidqvist
2022-08-11 18:24:14 +02:00
parent 48fe013c83
commit bf4272102d
3 changed files with 28 additions and 50 deletions

View File

@@ -250,7 +250,7 @@ const render = function (id, _txt, cb, container) {
txt = encodeEntities(txt);
// Imortant that we do not create the diagram until after the directives have been included
// Important that we do not create the diagram until after the directives have been included
const diag = new Diagram(txt);
// Get the tmp element containing the the svg
const element = root.select('#d' + id).node();