mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: handle render errors (#3557)
This commit is contained in:
parent
91ab7f36e2
commit
6bebfe63be
2 changed files with 28 additions and 16 deletions
|
@ -206,7 +206,7 @@ const drawElementOnCanvas = (
|
|||
context.canvas.remove();
|
||||
}
|
||||
} else {
|
||||
console.error(`Unimplemented type ${element.type}`);
|
||||
throw new Error(`Unimplemented type ${element.type}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue