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:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user