mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhem.pl: more detailed error message for wrong $defs entries (Forum #59456)
git-svn-id: https://svn.fhem.de/fhem/trunk@12560 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0027446e13
commit
d037eaffe0
@ -1140,7 +1140,8 @@ devspec2array($;$)
|
||||
|
||||
my $hash = $defs{$d};
|
||||
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;
|
||||
}
|
||||
my $val;
|
||||
|
Loading…
Reference in New Issue
Block a user