2
0
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:
rudolfkoenig 2016-11-13 10:54:43 +00:00
parent 0027446e13
commit d037eaffe0

View File

@ -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;