Skip to content

Commit

Permalink
Fixed Client error event
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Nov 19, 2016
1 parent 57fd730 commit 1e9287f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/client/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* *
* HproseClient for Node.js. *
* *
* LastModified: Nov 14, 2016 *
* LastModified: Nov 19, 2016 *
* Author: Ma Bingyao <[email protected]> *
* *
\**********************************************************/
Expand Down Expand Up @@ -57,6 +57,7 @@ function HproseProxy(setFunction, ns) {

function Client(uri, functions, settings) {
EventEmitter.call(this);
this.on('error', noop);

// private members
var _uri,
Expand Down

0 comments on commit 1e9287f

Please sign in to comment.