Changeset 1297

Show
Ignore:
Timestamp:
08/13/06 03:33:03
Author:
miyagawa
Message:

Plagger::Cookies: warn if cookies file is not found, even if the file type is Safari.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Cookies.pm

    r821 r1297  
    2121        Plagger->context->log(debug => "$conf->{file} => $impl"); 
    2222        $impl->require or Plagger->context->error("Error loading $impl: $@"); 
     23 
     24        if ($conf->{file} && !-e $conf->{file}) { 
     25            Plagger->context->log(warn => "$conf->{file}: $!"); 
     26        } 
    2327 
    2428        $impl->new(%$conf);