mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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;
|
Log 1, $value;
|
||||||
$result= $value;
|
$result= $value;
|
||||||
} elsif(!defined($value)) {
|
} elsif(!defined($value)) {
|
||||||
|
$cmdFromAnalyze = $perlCode; # For the __WARN__ sub
|
||||||
warn("$name userReadings $reading evaluated to undef");
|
warn("$name userReadings $reading evaluated to undef");
|
||||||
next;
|
next;
|
||||||
} elsif($modifier eq "none") {
|
} elsif($modifier eq "none") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user