mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-14 05:46:35 +00:00
more verbose error on missing readingsBeginUpdate
git-svn-id: https://svn.fhem.de/fhem/trunk@1946 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9d3125cb39
commit
c531a54963
@ -2902,7 +2902,7 @@ readingsUpdate($$$) {
|
||||
|
||||
# sanity check
|
||||
defined($hash->{helper}{updating}) ||
|
||||
die "fhem.pl: readingsUpdateReading: you must call readingsBeginUpdate first.";
|
||||
die "fhem.pl: readingsUpdate($name,$reading,$value): you must call readingsBeginUpdate first.";
|
||||
|
||||
# shorthand
|
||||
my $readings= $hash->{READINGS};
|
||||
|
Loading…
x
Reference in New Issue
Block a user