70_ENIGMA2.pm: improved logging

git-svn-id: https://svn.fhem.de/fhem/trunk@10898 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2016-02-20 21:36:24 +00:00
parent 770b2e73bc
commit f670f16a4a

View File

@@ -1048,14 +1048,14 @@ sub ENIGMA2_ReceiveCommand($$$) {
if ( !defined($cmd) || $cmd eq "" ) {
Log3 $name, 5,
"ENIGMA2 $name: RES ERROR $service - unable to parse malformed XML\n"
"ENIGMA2 $name: RES ERROR $service - unable to parse malformed XML: $@\n"
. $data;
}
else {
Log3 $name, 5,
"ENIGMA2 $name: RES ERROR $service/"
. urlDecode($cmd)
. " - unable to parse malformed XML\n"
. " - unable to parse malformed XML: $@\n"
. $data;
}