Handle exceptions when retrieving pod pulse log
This commit is contained in:
parent
5cbb5c8baa
commit
6d377d7b6a
|
@ -90,7 +90,14 @@ public class OmnipodUITask {
|
|||
break;
|
||||
|
||||
case GetPodPulseLog:
|
||||
returnDataObject = communicationManager.readPulseLog();
|
||||
try {
|
||||
returnDataObject = communicationManager.readPulseLog();
|
||||
} catch(Exception ex) {
|
||||
if(isLogEnabled()) {
|
||||
LOG.warn("Failed to retrieve pulse log", ex);
|
||||
}
|
||||
returnDataObject = null;
|
||||
}
|
||||
break;
|
||||
|
||||
case GetPodStatus:
|
||||
|
|
Loading…
Reference in a new issue