mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +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:
parent
448a075238
commit
7f77902704
@ -1499,7 +1499,7 @@ sub safe_decode_json {
|
|||||||
1;
|
1;
|
||||||
} or do {
|
} or do {
|
||||||
my $error = $@ || 'Unknown failure';
|
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;
|
return $json;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user