37_NotifyAndroidTV.pm: added lastError reading
git-svn-id: https://svn.fhem.de/fhem/trunk@16031 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -125,6 +125,7 @@ NotifyAndroidTV_parseHttpAnswer($$$)
|
||||
|
||||
if( $err ) {
|
||||
Log3 $name, 2, "NotifyAndroidTV ($name) - got error while sending notificaton $err";
|
||||
readingsSingleUpdate($hash,"lastError", $err, 1);
|
||||
if( $param->{cl} && $param->{cl}{canAsyncOutput} ) {
|
||||
asyncOutput( $param->{cl}, "got error while sending notification $err\n" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user