From 5ee8e8249cb49bb7bc425cb1264df4d3572007a1 Mon Sep 17 00:00:00 2001 From: dwelle Date: Sun, 9 May 2021 17:47:52 +0200 Subject: [PATCH] log instead of throw on unimplemented render type --- src/renderer/renderElement.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/renderElement.ts b/src/renderer/renderElement.ts index cfcae09b..26cb0d72 100644 --- a/src/renderer/renderElement.ts +++ b/src/renderer/renderElement.ts @@ -206,7 +206,7 @@ const drawElementOnCanvas = ( context.canvas.remove(); } } else { - throw new Error(`Unimplemented type ${element.type}`); + console.error(`Unimplemented type ${element.type}`); } } }