Trap client-side crash on dimension mismatch server-client