change error reporting in prod index