Improve error messaging during lightUpdate