Change log in case non-local originator
This commit is contained in:
parent
24dda7a3ea
commit
1e001dda0a
@ -83,7 +83,7 @@ public class TbDeviceStateNode implements TbNode {
|
|||||||
public void onMsg(TbContext ctx, TbMsg msg) {
|
public void onMsg(TbContext ctx, TbMsg msg) {
|
||||||
var originator = msg.getOriginator();
|
var originator = msg.getOriginator();
|
||||||
if (!ctx.isLocalEntity(originator)) {
|
if (!ctx.isLocalEntity(originator)) {
|
||||||
log.warn("[{}] Node [{}] received message from non-local entity [{}]!",
|
log.warn("[{}][{}] Received message from non-local entity [{}]!",
|
||||||
ctx.getTenantId().getId(), ctx.getSelfId().getId(), originator.getId());
|
ctx.getTenantId().getId(), ctx.getSelfId().getId(), originator.getId());
|
||||||
ctx.ack(msg);
|
ctx.ack(msg);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user