mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-26 16:34:22 +01:00
fix: handle render errors (#3557)
This commit is contained in:
@@ -206,7 +206,7 @@ const drawElementOnCanvas = (
|
||||
context.canvas.remove();
|
||||
}
|
||||
} else {
|
||||
console.error(`Unimplemented type ${element.type}`);
|
||||
throw new Error(`Unimplemented type ${element.type}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user