Better error reporting on problematic entities