Changeset 1915 for trunk


Ignore:
Timestamp:
01/06/17 18:36:42 (7 years ago)
Author:
nanardon
Message:

Fix log message

Location:
trunk/LATMOS-Accounts/lib/LATMOS/Accounts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Log.pm

    r1865 r1915  
    180180        return; 
    181181    } 
    182     if ($level =~ /\D/) { 
     182    if ($level !~ /^\d$/) { 
    183183        # Wrong la_log usage 
    184184        my @call = caller(); 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Synchro.pm

    r1865 r1915  
    400400                $self->write_status; 
    401401                la_log(LA_NOTICE, 
    402                     "Update synch. status to %d for base %s to %s", 
    403                     $self->{current_rev}, $self->from->label, $destbase->label 
     402                    "Update synch. status to %s for base %s to %s", 
     403                    $self->{current_rev} || '(none)', $self->from->label, $destbase->label 
    404404                );  
    405405            } 
Note: See TracChangeset for help on using the changeset viewer.