fix(annotations): add catch(err) binding to handlePointerUp error handler [M6]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-14 14:41:21 +02:00
parent 7125a0a8eb
commit 76828a95e3

View File

@@ -190,7 +190,8 @@ async function handlePointerUp(event: PointerEvent): Promise<void> {
width: liveWidth,
height: liveHeight
});
} catch {
} catch (err) {
console.error('annotation drag update failed', err);
liveX = ds.preDragX;
liveY = ds.preDragY;
liveWidth = ds.preDragWidth;