Merge pull request #1016 from bbassie/fix/improve-logging

Add context to connection and response log messages
This commit is contained in:
Bastiaan authored and GitHub committed 2026-09-12 01:51:39 +01:00
1 parent a80b035a0a
commit 5b0f629b6e
3 files changed
+9 -4

No files matched your search

+2 -2
View File
@@ -444,7 +444,7 @@ export class Link {
let pending = this._pendingRequests.get(message.dst.requestId!);
if (!pending) {
throw new libErrors.InvalidMessage(
`Received response ${message.dst.requestId} without a pending request`
`Received response ${message.dst.requestId} from ${message.src} without a pending request`
);
}
@@ -465,7 +465,7 @@ export class Link {
let pending = this._pendingRequests.get(message.dst.requestId!);
if (!pending) {
throw new libErrors.InvalidMessage(
`Received error response ${message.dst.requestId} without a pending request`
`Received error response ${message.dst.requestId} from ${message.src} without a pending request`
);
}