Changeset 1041

Show
Ignore:
Timestamp:
07/02/06 11:55:42
Author:
miyagawa
Message:

fix URI::Fetch stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/CustomFeed/GoogleNews.pm

    r803 r1041  
    4242    my $res = $agent->fetch($url, $self); 
    4343 
    44     if ($res->http_response->is_error) { 
    45         $context->log(error => "GET $url failed: " . $res->status_line); 
     44    if ($res->is_error) { 
     45        $context->log(error => "GET $url failed: " . $res->status); 
    4646        return; 
    4747    }