Remove redundant PodState.setFaultEvent call

This commit is contained in:
Bart Sopers 2019-12-19 00:02:02 +01:00
parent 52d0c10ec0
commit 43c2863825

View file

@ -336,7 +336,6 @@ public class OmnipodManager {
try {
cancelDelivery(EnumSet.of(DeliveryType.BOLUS), acknowledgementBeep);
} catch (PodFaultException ex) {
podState.setFaultEvent(ex.getFaultEvent());
if (isLoggingEnabled()) {
LOG.info("Ignoring PodFaultException in cancelBolus", ex);
}