log instead of throw on unimplemented render type

This commit is contained in:
dwelle 2021-05-09 17:47:52 +02:00
parent 49c6bdd520
commit 5ee8e8249c

View File

@ -206,7 +206,7 @@ const drawElementOnCanvas = (
context.canvas.remove();
}
} else {
throw new Error(`Unimplemented type ${element.type}`);
console.error(`Unimplemented type ${element.type}`);
}
}
}