mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-06 09:07:12 +02:00
log instead of throw on unimplemented render type
This commit is contained in:
@@ -206,7 +206,7 @@ const drawElementOnCanvas = (
|
|||||||
context.canvas.remove();
|
context.canvas.remove();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new Error(`Unimplemented type ${element.type}`);
|
console.error(`Unimplemented type ${element.type}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user