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

Make 'Cannot instantiate attribute' a warning only

File:
1 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    }; 
Note: See TracChangeset for help on using the changeset viewer.