Changeset 5632


Ignore:
Timestamp:
11/25/09 15:51:19 (2 years ago)
Author:
OlivierRaginel
Message:

Item8084: Expose the issue when LWP has local failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/core/tools/extender.pl

    r5431 r5632  
    532532        $response = $lwp->get( $url . $type ); 
    533533 
     534        if ( $response->header( "Client-Warning" ) ) { 
     535            print STDERR "Failed to download $module $what\n", 
     536              "LWP complains about: ", $response->header( "Client-Warning" ); 
     537            return; 
     538        } 
    534539        if ( $response->is_success() ) { 
    535540            $f = $downloadDir . '/' . $module . $type; 
Note: See TracChangeset for help on using the changeset viewer.