Better recovery of errors on index CGI