From c531a54963d9c667f990b10e27a823c1e43dd96c Mon Sep 17 00:00:00 2001 From: borisneubert <> Date: Thu, 11 Oct 2012 18:11:14 +0000 Subject: [PATCH] more verbose error on missing readingsBeginUpdate git-svn-id: https://svn.fhem.de/fhem/trunk@1946 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 34162a1e4..69241e7f3 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -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};