Pawl
Pawl copied to clipboard
Handle WS connection exception in Connector
This commit introduces an exception handler into the Connector class. Now, when a WebSocket connection fails it captures the exception and explicitly rejects the promise, providing better error control and preventing silent failures.