I'd log the name of the index either here or in the error messages so that the dev knows where the problem is.