Ignore OmnipodException in exchangePackets

This commit is contained in:
Bart Sopers 2019-12-02 22:17:57 +01:00
parent 71e87aca0e
commit 4fcc5bec6f

View file

@ -266,7 +266,7 @@ public class OmnipodCommunicationService extends RileyLinkCommunicationManager {
OmnipodPacket response = null;
try {
response = sendAndListen(packet, responseTimeoutMilliseconds, repeatCount, 9, preambleExtensionMilliseconds, OmnipodPacket.class);
} catch (RileyLinkCommunicationException ex) {
} catch (RileyLinkCommunicationException | OmnipodException ex) {
if (isLoggingEnabled()) {
LOG.debug("Ignoring exception in exchangePackets", ex);
}