metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

lib: fix unhandled error events on connection #389

Closed belochub closed 5 years ago

belochub commented 5 years ago

Fix error events on Connection object being unhandled inside the Transport#connect() method, thus leading to the errors being thrown instead of reported to the callback.

This depends on https://github.com/metarhia/jstp/pull/386

belochub commented 5 years ago

Landed in https://github.com/metarhia/jstp/commit/85c18c61f8231116acd212e3896eaed6542f5a54.