2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 20:24:36 +00:00

69_SoftliqCloud.pm: Extended Log Messaging in case of JSON Error

git-svn-id: https://svn.fhem.de/fhem/trunk@24165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
KernSani 2021-04-06 19:08:46 +00:00
parent 448a075238
commit 7f77902704

View File

@ -1499,7 +1499,7 @@ sub safe_decode_json {
1;
} or do {
my $error = $@ || 'Unknown failure';
Log3 $name, LOG_ERROR, "[$name] - Received invalid JSON: $error";
Log3 $name, LOG_ERROR, "[$name] - Received invalid JSON: $error".Dumper($data);
};
return $json;