Changeset 2375 in /cluster/svnroot


Ignore:
Timestamp:
Apr 30, 2010 11:42:05 PM (11 years ago)
Author:
skylar
Message:

adding logging to test_read_yaml (#501)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar-devel/trees/usr/local/lib/site_perl/5.10.0/Bccd.pm

    r2374 r2375  
    453453        $self->enter_sub($sub);
    454454
     455        if(! -f $file) {
     456                $self->log_and_die("ERROR",$sub,"Cannot read in $file");
     457        }
     458
     459        if($self->is_log($INFO) || $self->is_log($DEBUG)) {
     460                $self->log_and_cont("INFO",$sub,"Reading in:".Dumper($y));
     461        }
    455462        my $y = LoadFile($file);
    456463        if($self->is_log($INFO) || $self->is_log($DEBUG)) {
Note: See TracChangeset for help on using the changeset viewer.