[androidtv] Normalized exception logging for both MessageParsers (#15157)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This commit is contained in:
@@ -329,8 +329,8 @@ public class GoogleTVMessageParser {
|
||||
logger.info("{} - Unknown payload received. {} {}", thingId, len, msg);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.debug("{} - Message Parser Exception on {}", thingId, msg);
|
||||
logger.debug("Message Parser Caught Exception", e);
|
||||
logger.warn("{} - Message Parser Exception on {}", thingId, msg);
|
||||
logger.warn("{} - Message Parser Caught Exception", thingId, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -443,7 +443,8 @@ public class ShieldTVMessageParser {
|
||||
logger.info("{} - Unknown payload received. {}", thingId, msg);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.info("{} - Message Parser Caught Exception", thingId, e);
|
||||
logger.warn("{} - Message Parser Exception on {}", thingId, msg);
|
||||
logger.warn("{} - Message Parser Caught Exception", thingId, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user