fhem.pl: output the culprit code for the bad userReading (Forum #70999)
git-svn-id: https://svn.fhem.de/fhem/trunk@14097 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -4227,6 +4227,7 @@ readingsEndUpdate($$)
|
||||
Log 1, $value;
|
||||
$result= $value;
|
||||
} elsif(!defined($value)) {
|
||||
$cmdFromAnalyze = $perlCode; # For the __WARN__ sub
|
||||
warn("$name userReadings $reading evaluated to undef");
|
||||
next;
|
||||
} elsif($modifier eq "none") {
|
||||
|
||||
Reference in New Issue
Block a user