mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
log instead of throw on unimplemented render type
This commit is contained in:
parent
49c6bdd520
commit
5ee8e8249c
1 changed files with 1 additions and 1 deletions
|
@ -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}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue