mirror of
https://github.com/penpot/penpot.git
synced 2026-11-26 21:00:32 +00:00
WASM errors are thrown as an ex-info whose cause is the original failure (the trap, `RuntimeError: unreachable`, `memory access out of bounds`, `Aborted(OOM)`). The CLJS `format-throwable` printed only the ex-data and the stack, so the report said where a WASM call failed but never why. Add a "Caused by:" block with the cause message, printed on its own since only V8 starts `.stack` with it, followed by its formatted data and stack. Relates to #12910 AI-assisted-by: claude-opus-5-5