mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[androidtv] Normalized exception logging for both MessageParsers (#15157)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This commit is contained in:
parent
e1d0dcea97
commit
d12693419c
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user