Do not use lmLog in Conf/Parser.pm (#1025)
This commit is contained in:
parent
4d4d5aeb2b
commit
a8ecd8f76a
|
@ -693,8 +693,9 @@ sub _scanNodes {
|
|||
);
|
||||
$self->newConf->{$name} = {};
|
||||
if ( ref( $leaf->{data} ) ne 'ARRAY' ) {
|
||||
$self->lmLog( "Double hash doesn't push an array, aborting",
|
||||
'error' );
|
||||
push @{ $self->errors },
|
||||
{ message => $leaf->{title}
|
||||
. ": double hash doesn't push an array, aborting" };
|
||||
return 0;
|
||||
}
|
||||
foreach my $getHost ( @{ $leaf->{data} } ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user