Fixed error msg: Msd Id -> Msg Id
This commit is contained in:
parent
987233f470
commit
2d68bf4a52
@ -280,9 +280,9 @@ public final class EdgeGrpcSession implements Closeable {
|
|||||||
try {
|
try {
|
||||||
if (msg.getSuccess()) {
|
if (msg.getSuccess()) {
|
||||||
sessionState.getPendingMsgsMap().remove(msg.getDownlinkMsgId());
|
sessionState.getPendingMsgsMap().remove(msg.getDownlinkMsgId());
|
||||||
log.debug("[{}][{}] Msg has been processed successfully!Msd Id: [{}], Msg: {}", this.tenantId, edge.getRoutingKey(), msg.getDownlinkMsgId(), msg);
|
log.debug("[{}][{}] Msg has been processed successfully!Msg Id: [{}], Msg: {}", this.tenantId, edge.getRoutingKey(), msg.getDownlinkMsgId(), msg);
|
||||||
} else {
|
} else {
|
||||||
log.error("[{}][{}] Msg processing failed! Msd Id: [{}], Error msg: {}", this.tenantId, edge.getRoutingKey(), msg.getDownlinkMsgId(), msg.getErrorMsg());
|
log.error("[{}][{}] Msg processing failed! Msg Id: [{}], Error msg: {}", this.tenantId, edge.getRoutingKey(), msg.getDownlinkMsgId(), msg.getErrorMsg());
|
||||||
}
|
}
|
||||||
if (sessionState.getPendingMsgsMap().isEmpty()) {
|
if (sessionState.getPendingMsgsMap().isEmpty()) {
|
||||||
log.debug("[{}][{}] Pending msgs map is empty. Stopping current iteration", this.tenantId, edge.getRoutingKey());
|
log.debug("[{}][{}] Pending msgs map is empty. Stopping current iteration", this.tenantId, edge.getRoutingKey());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user