Revising handling of lazy-code errors