tldraw
tldraw copied to clipboard
[bug] Could not find a binding to match the start handle's bindingId
On Sentry, a popular bug is Could not find a binding to match the start handle's bindingId.
This happens in TLDR.updateArrowBindings:
if (arrowShape.handles.start.bindingId) {
const hasDecoration = arrowShape.decorations?.start !== undefined
const handle = arrowShape.handles.start
const binding = page.bindings[arrowShape.handles.start.bindingId]
if (!binding) throw Error("Could not find a binding to match the start handle's bindingId")
The stack always includes TldrawApp.cleanup, so it's likely an issue where a binding has been deleted, then cleaned up.
I'm not able to reproduce the error myself!