Lattice Grid Buy a licence

Shared across modules ยท console.warn

{module}: a '{event}' handler threw; other handlers were unaffected.

Printed by Shared across modules, prefixed [lattice], since 1.53.0.

Warnings reference*.emit.throw:*:*

Identifier
*.emit.throw:*:*
Raised by
Shared across modules
Since
1.53.0

What happened

A module viewer (kanban, gantt, KPI, tabs, layout) delivered an event and one of your handlers threw. Delivery is isolated per handler, so the throw was caught, every other handler for that event still ran, and the module carried on. The key carries the module, the subscription name and an identifier for the handler, so two broken handlers on the same event are two separate lines rather than one.

The fix

The thrown error is attached as the second console argument, with its stack. Fix the handler, or wrap its body in your own try/catch if throwing is expected.

Reference

Covered in full at the API reference.