dev #11

Merged
marko merged 8 commits from dev into main 2022-03-31 04:47:00 +00:00
2 changed files with 9 additions and 5 deletions
Showing only changes of commit 19f349d751 - Show all commits

View File

@ -1,2 +1,2 @@
UPD 2022-03-29_08:00:00 18968 FHEM/82_LGTV_WebOS.pm
UPD 2022-03-29_07:50:12 54974 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
UPD 2022-03-29_15:22:28 55046 lib/FHEM/Devices/LGTV/LGTVWebOS.pm

View File

@ -710,11 +710,13 @@ sub Write {
}
catch {
if ( $_->isa('autodie::exception') && $_->matches(':io') ) {
Log3( $name, 2, "LGTV_WebOS ($name) - can't write to socket: $_" );
::Log3( $name, 2,
"LGTV_WebOS ($name) - can't write to socket: $_" );
return;
}
else {
Log3( $name, 2, "LGTV_WebOS ($name) - can't write too socket: $_" );
::Log3( $name, 2,
"LGTV_WebOS ($name) - can't write too socket: $_" );
return;
}
};
@ -756,11 +758,13 @@ sub Read {
}
catch {
if ( $_->isa('autodie::exception') && $_->matches(':io') ) {
Log3( $name, 2, "LGTV_WebOS ($name) - can't read from socket: $_" );
::Log3( $name, 2,
"LGTV_WebOS ($name) - can't read from socket: $_" );
return;
}
else {
Log3( $name, 2, "LGTV_WebOS ($name) - can't read from socket: $_" );
::Log3( $name, 2,
"LGTV_WebOS ($name) - can't read from socket: $_" );
return;
}
};