Changeset 29219

Show
Ignore:
Timestamp:
20.08.2014 15:08:01 (5 years ago)
Author:
ak19
Message:

Debug statements printed to STDERR if there's any error when accessing the jetty solr urls

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/perllib/solrserver.pm

    r29159 r29219  
    7373 
    7474    $url .= "?$cgi_get_args" if (defined $cgi_get_args); 
     75 
     76##    print STDERR "\n\n**** _wget_service SOLR WEB URL: $url\n\n"; 
    7577     
    7678    my $cmd = "wget -O - \"$url\" 2>&1"; 
     
    118120    $error_output = "Error: failed to run $cmd\n"; 
    119121    $error_output .= "  $!\n"; 
     122    } 
     123 
     124    if(defined $error_output) { 
     125    print STDERR "\n\n**** WGET_SERVICE got an error: $error_output\n\n"; 
    120126    } 
    121127