mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-25 23:24:28 +03:00
log instead of throw on unimplemented render type
This commit is contained in:
1 parent
49c6bdd520
commit
5ee8e8249c
1 file changed
+1
-1
@@ -206,7 +206,7 @@ const drawElementOnCanvas = (
|
||||
context.canvas.remove();
|
||||
}
|
||||
} else {
|
||||
throw new Error(`Unimplemented type ${element.type}`);
|
||||
console.error(`Unimplemented type ${element.type}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user