added error handling for solr proxy endpoint