better error output for CGI connector