2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

SMUtils.pm: update to v 1.11.1

git-svn-id: https://svn.fhem.de/fhem/trunk@22873 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-09-28 12:08:56 +00:00
parent 98d92a1c7b
commit fd7fb62d24

View File

@ -40,7 +40,7 @@ use FHEM::SynoModules::ErrCodes qw(:all); # Erro
use GPUtils qw( GP_Import GP_Export );
use Carp qw(croak carp);
use version; our $VERSION = version->declare('1.11.0');
use version; our $VERSION = version->declare('1.11.1');
use Exporter ('import');
our @EXPORT_OK = qw(
@ -566,10 +566,10 @@ sub evaljson {
else {
$success = 0;
readingsBeginUpdate ($hash);
readingsBulkUpdate ($hash, "Errorcode", "none");
readingsBulkUpdate ($hash, "Error", "malformed JSON string received");
readingsEndUpdate ($hash, 1);
my $errorcode = "9000";
my $error = expErrors($hash,$errorcode); # Fehlertext zum Errorcode ermitteln
setReadingErrorState ($hash, $error, $errorcode);
}
};