Add error callback for when lazy loading fails