- add logging to task
This commit is contained in:
parent
c3236352d4
commit
a719d44851
1 changed files with 5 additions and 1 deletions
|
@ -184,12 +184,16 @@ public class OmnipodUITask {
|
||||||
|
|
||||||
EventOmnipodDeviceStatusChange statusChange;
|
EventOmnipodDeviceStatusChange statusChange;
|
||||||
if (isLogEnabled())
|
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) {
|
if (responseType == PodResponseType.Data || responseType == PodResponseType.Acknowledgment) {
|
||||||
postprocessor.postProcessData(this);
|
postprocessor.postProcessData(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG.debug("OmnipodUITask: @@@ postProcess. responseType={}", responseType);
|
||||||
|
|
||||||
if (responseType == PodResponseType.Invalid) {
|
if (responseType == PodResponseType.Invalid) {
|
||||||
statusChange = new EventOmnipodDeviceStatusChange(PodDeviceState.ErrorWhenCommunicating,
|
statusChange = new EventOmnipodDeviceStatusChange(PodDeviceState.ErrorWhenCommunicating,
|
||||||
"Unsupported command in OmnipodUITask");
|
"Unsupported command in OmnipodUITask");
|
||||||
|
|
Loading…
Reference in a new issue