Fixed doulbe PUBACK for attribute request messages
This commit is contained in:
parent
bc7db03351
commit
d049ad8e51
@ -279,10 +279,10 @@ public class GatewaySessionHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable t) {
|
public void onFailure(Throwable t) {
|
||||||
|
ack(msg);
|
||||||
log.debug("[{}] Failed to process device attributes request command: {}", sessionId, deviceName, t);
|
log.debug("[{}] Failed to process device attributes request command: {}", sessionId, deviceName, t);
|
||||||
}
|
}
|
||||||
}, context.getExecutor());
|
}, context.getExecutor());
|
||||||
ack(msg);
|
|
||||||
} else {
|
} else {
|
||||||
throw new JsonSyntaxException(CAN_T_PARSE_VALUE + json);
|
throw new JsonSyntaxException(CAN_T_PARSE_VALUE + json);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user