Fixed doulbe PUBACK for attribute request messages

This commit is contained in:
Volodymyr Babak 2019-03-29 16:11:08 +02:00
parent bc7db03351
commit d049ad8e51

View File

@ -279,10 +279,10 @@ public class GatewaySessionHandler {
@Override
public void onFailure(Throwable t) {
ack(msg);
log.debug("[{}] Failed to process device attributes request command: {}", sessionId, deviceName, t);
}
}, context.getExecutor());
ack(msg);
} else {
throw new JsonSyntaxException(CAN_T_PARSE_VALUE + json);
}