From f8c51ac37155a0b32f1ac56008d11661bfa9aa60 Mon Sep 17 00:00:00 2001 From: Nicolas Scheers <166396855+nicolas-scheers-lemon@users.noreply.github.com> Date: Thu, 4 Sep 2025 22:32:20 +0200 Subject: [PATCH] Update graphql-websocket-protocol.ts Added JSON.stringify to log --- .../graphql/websocket-protocol/graphql-websocket-protocol.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework-core/src/services/graphql/websocket-protocol/graphql-websocket-protocol.ts b/packages/framework-core/src/services/graphql/websocket-protocol/graphql-websocket-protocol.ts index 6a2925879..1ea477dae 100644 --- a/packages/framework-core/src/services/graphql/websocket-protocol/graphql-websocket-protocol.ts +++ b/packages/framework-core/src/services/graphql/websocket-protocol/graphql-websocket-protocol.ts @@ -67,7 +67,7 @@ export class GraphQLWebsocketHandler { return await this.handleTerminate(envelope.connectionID) default: // This branch should be impossible, but just in case - throw new Error(`Unknown message type. Message=${clientMessage}`) + throw new Error(`Unknown message type. Message=${JSON.stringify(clientMessage)}`) } } catch (e) { const error = e as Error