mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
Fixes log flooding from protocol error (#15252)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This commit is contained in:
parent
075592f4df
commit
ca4d332acd
@ -184,6 +184,10 @@ public class GoogleTVConnectionManager {
|
||||
initialize();
|
||||
}
|
||||
|
||||
public AndroidTVHandler getHandler() {
|
||||
return handler;
|
||||
}
|
||||
|
||||
public String getThingID() {
|
||||
return handler.getThingID();
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ public class GoogleTVMessageParser {
|
||||
try {
|
||||
if (msg.startsWith(DELIMITER_1A)) {
|
||||
logger.warn("{} - GoogleTV Error Message: {}", thingId, msg);
|
||||
callback.getHandler().dispose();
|
||||
} else if (msg.startsWith(DELIMITER_0A)) {
|
||||
// First message on connection from GTV
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user