Skip to content

Commit c73d363

Browse files
Copilotliady
andauthored
fix: change unknown source message log from error to debug level (#239)
* Initial plan * Change console.error to console.debug for unknown message sources Co-authored-by: liady <7003853+liady@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: liady <7003853+liady@users.noreply.github.com>
1 parent dbc7a41 commit c73d363

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/message-transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class PostMessageTransport implements Transport {
7575
) {
7676
this.messageListener = (event) => {
7777
if (eventSource && event.source !== this.eventSource) {
78-
console.error("Ignoring message from unknown source", event);
78+
console.debug("Ignoring message from unknown source", event);
7979
return;
8080
}
8181
const parsed = JSONRPCMessageSchema.safeParse(event.data);

0 commit comments

Comments
 (0)