mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
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:
parent
bc9c7c8950
commit
2fa9bcee58
@ -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") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user