Changeset 2293 for trunk


Ignore:
Timestamp:
11/07/19 08:56:02 (5 years ago)
Author:
nanardon
Message:

Make 'Cannot instantiate attribute' a warning only

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

Legend:

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

    r2290 r2293  
    718718    my ($class, $base, $attribute) = @_; 
    719719    my $attr = $base->attribute($class->type, $attribute) or do { 
    720         $base->log(LA_ERR, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
     720        $base->log(LA_WARN, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
    721721        return; 
    722722    }; 
     
    755755    my ($class, $base, $attribute) = @_; 
    756756    my $attr = $base->attribute($class->type, $attribute) or do { 
    757         $base->log(LA_ERR, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
     757        $base->log(LA_WARN, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
    758758        return; 
    759759    }; 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/objects.pm

    r2290 r2293  
    916916     
    917917    my $attr = $base->attribute($class->type, $attribute) or do { 
    918         $base->log(LA_ERR, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
     918        $base->log(LA_WARN, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
    919919        return; 
    920920    }; 
     
    10261026 
    10271027    my $attr = $base->attribute($class->type, $attribute) or do { 
    1028         $base->log(LA_ERR, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
     1028        $base->log(LA_WARN, "Cannot instantiate %s attribute for class %s", $attribute, $class->type); 
    10291029        return; 
    10301030    }; 
Note: See TracChangeset for help on using the changeset viewer.