- add logging to task
This commit is contained in:
parent
c3236352d4
commit
a719d44851
|
@ -184,12 +184,16 @@ public class OmnipodUITask {
|
|||
|
||||
EventOmnipodDeviceStatusChange statusChange;
|
||||
if (isLogEnabled())
|
||||
LOG.debug("OmnipodUITask: @@@ In execute. {}", commandType);
|
||||
LOG.debug("OmnipodUITask: @@@ postProcess. {}", commandType);
|
||||
|
||||
LOG.debug("OmnipodUITask: @@@ postProcess. responseType={}", responseType);
|
||||
|
||||
if (responseType == PodResponseType.Data || responseType == PodResponseType.Acknowledgment) {
|
||||
postprocessor.postProcessData(this);
|
||||
}
|
||||
|
||||
LOG.debug("OmnipodUITask: @@@ postProcess. responseType={}", responseType);
|
||||
|
||||
if (responseType == PodResponseType.Invalid) {
|
||||
statusChange = new EventOmnipodDeviceStatusChange(PodDeviceState.ErrorWhenCommunicating,
|
||||
"Unsupported command in OmnipodUITask");
|
||||
|
|
Loading…
Reference in a new issue