mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
fhem.pl: more detailed error message for wrong $defs entries (Forum #59456)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12560 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dc7cd9ba54
commit
ac7dae9c24
3
fhem.pl
3
fhem.pl
@ -1140,7 +1140,8 @@ devspec2array($;$)
|
|||||||
|
|
||||||
my $hash = $defs{$d};
|
my $hash = $defs{$d};
|
||||||
if(!$hash->{TYPE}) {
|
if(!$hash->{TYPE}) {
|
||||||
Log 1, "Error: $d has no TYPE";
|
Log 1, "Error: >$d< has no TYPE, but following keys: >".
|
||||||
|
join(",", sort keys %{$hash})."<";
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
my $val;
|
my $val;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user