apollographql / subscriptions-transport-ws

:arrows_clockwise: A WebSocket client + server for GraphQL subscriptions
https://www.npmjs.com/package/subscriptions-transport-ws
MIT License
1.52k stars 342 forks source link

How to hide "Uncaught Error: Invalid message type!" error? #849

Closed cjnoname closed 3 years ago

cjnoname commented 3 years ago

How to hide "Uncaught Error: Invalid message type!" error?

    at SubscriptionClient.processReceivedData (client.js?633a:547)
    at WebSocket.client.onmessage (client.js?633a:485)
SubscriptionClient.processReceivedData @ client.js?633a:547
client.onmessage @ client.js?633a:485

Thanks