Skip to content

Commit 286ffa0

Browse files
committed
better logging
1 parent 39e08a5 commit 286ffa0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mesh/agents/state/TerminalOpsSyncAgent.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,9 @@ class TerminalOpsSyncAgent extends PeeringAgentBase implements StateSyncAgent {
361361

362362
if (msg.targetObjHash !== this.objHash) {
363363

364-
//TODO: report bad peer?
364+
// TODO: report bad peer go peer group?
365+
366+
this.peerMessageLog.warning('Received wrong targetObjHash, expected ' + this.objHash + ' but got ' + msg.targetObjHash + ' from ' + source);
365367

366368
return;
367369
}

0 commit comments

Comments
 (0)